Revision: 17651
http://svn.sourceforge.net/gaim/?rev=17651&view=rev
Author: sadrul
Date: 2006-11-01 13:39:36 -0800 (Wed, 01 Nov 2006)
Log Message:
-----------
Fix the keycodes here too.
Modified Paths:
--------------
trunk/console/plugins/lastlog.c
Modified: trunk/console/plugins/lastlog.c
===================================================================
--- trunk/console/plugins/lastlog.c 2006-11-01 20:59:23 UTC (rev 17650)
+++ trunk/console/plugins/lastlog.c 2006-11-01 21:39:36 UTC (rev 17651)
@@ -42,13 +42,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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|