mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 19:22:29 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user