SVN revision: 1267
This commit is contained in:
Michael Jennings 1999-11-12 07:07:49 +00:00
parent afd07cdf4d
commit 4ec2ea2a37
1 changed files with 8 additions and 4 deletions

View File

@ -51,15 +51,19 @@ run_contents(void *data)
static void
hist_last(void *data)
{
if(current_command > 0)
Epplet_change_textbox(textbox, command_history[--current_command]);
if (current_command > 0)
Epplet_change_textbox(textbox, command_history[--current_command]);
return;
data = NULL;
}
static void
hist_next(void *data)
{
if(current_command < num_commands)
Epplet_change_textbox(textbox, command_history[++current_command]);
if (current_command < num_commands)
Epplet_change_textbox(textbox, command_history[++current_command]);
return;
data = NULL;
}
int