r530 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jan 28 18:26:23 EST 2006
Author: tma
Date: 2006-01-28 18:26:23 -0500 (Sat, 28 Jan 2006)
New Revision: 530
Modified:
trunk/code/client/cl_keys.c
Log:
* Fix to an obo bug in the console history recall code
Modified: trunk/code/client/cl_keys.c
===================================================================
--- trunk/code/client/cl_keys.c 2006-01-27 18:14:01 UTC (rev 529)
+++ trunk/code/client/cl_keys.c 2006-01-28 23:26:23 UTC (rev 530)
@@ -548,7 +548,7 @@
if ( (key == K_MWHEELDOWN && keys[K_SHIFT].down) || ( key == K_DOWNARROW ) || ( key == K_KP_DOWNARROW ) ||
( ( tolower(key) == 'n' ) && keys[K_CTRL].down ) ) {
- if (historyLine == nextHistoryLine)
+ if (historyLine + 1 == nextHistoryLine)
return;
historyLine++;
g_consoleField = historyEditLines[ historyLine % COMMAND_HISTORY ];
More information about the quake3-commits
mailing list