Various minor fixes to the 0.0.1 release.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@277 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-15 01:00:53 +00:00
parent 1f58b0074b
commit ce4c09c143
3 changed files with 44 additions and 3 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ namespace input {
bool
TextInput::pressed(int key) {
// std::stringstream str;
//std::stringstream str;
if (m_alt) {
m_alt = false;
@@ -44,15 +44,15 @@ TextInput::pressed(int key) {
break;
case 0x02:
case KEY_LEFT:
case 0x10:
if (m_pos != 0)
--m_pos;
break;
case 0x06:
case KEY_RIGHT:
case 0x0E:
if (m_pos != size())
++m_pos;