Added a feature to allow you to scroll off the end of the command history and

back into a blank textbox. Was supposed to already be in, but for some reason
it didn't work.


SVN revision: 1273
This commit is contained in:
Richard Barnes 1999-11-12 18:24:48 +00:00
parent ec6e682ffe
commit 1401f9bd62
2 changed files with 10 additions and 1 deletions

View File

@ -472,3 +472,12 @@ Changed epplets/E-Exec.c
Added Epplet_unremember to cb_close.
-------------------------------------------------------------------------------
Fri Nov 12 13:41:29 EST 1999
(StriderZ)
Added a feature to allow you to scroll off the end of the command history and
back into a blank textbox. Was supposed to already be in, but for some reason
it didn't work.

View File

@ -64,7 +64,7 @@ hist_next(void *data)
{
if (current_command < num_commands-1)
Epplet_change_textbox(textbox, command_history[++current_command]);
else if (current_command == num_commands-1)
else if(current_command == num_commands-1)
{
current_command++;
Epplet_change_textbox(textbox, "");