Mercurial > pidgin
diff console/gntdebug.c @ 14877:c01f62c83647
[gaim-migrate @ 17646]
Fix things to work with the last commit.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 01 Nov 2006 05:53:09 +0000 |
parents | dd2ef00759a7 |
children | 233c4a2f7b77 |
line wrap: on
line diff
--- a/console/gntdebug.c Wed Nov 01 03:38:23 2006 +0000 +++ b/console/gntdebug.c Wed Nov 01 05:53:09 2006 +0000 @@ -51,13 +51,13 @@ { if (key[0] == 27) { - if (strcmp(key+1, GNT_KEY_DOWN) == 0) + if (strcmp(key, GNT_KEY_DOWN) == 0) gnt_text_view_scroll(view, 1); - else if (strcmp(key+1, GNT_KEY_UP) == 0) + else if (strcmp(key, GNT_KEY_UP) == 0) gnt_text_view_scroll(view, -1); - else if (strcmp(key+1, GNT_KEY_PGDOWN) == 0) + else if (strcmp(key, GNT_KEY_PGDOWN) == 0) gnt_text_view_scroll(view, wid->priv.height - 2); - else if (strcmp(key+1, GNT_KEY_PGUP) == 0) + else if (strcmp(key, GNT_KEY_PGUP) == 0) gnt_text_view_scroll(view, -(wid->priv.height - 2)); else return FALSE;