gtk-port: cheat-window size-column bug-fix

This commit is contained in:
matusz 2009-06-14 01:53:55 +00:00
parent 4175f299d3
commit 728db76bde
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ static void cheat_list_modify_cheat(GtkCellRendererText * cell,
u32 v = atoi(new_text);
switch (column) {
case COLUMN_SIZE:
cheatsUpdate(v, cheat.hi[0], cheat.lo[0],
cheatsUpdate(v-1, cheat.hi[0], cheat.lo[0],
cheat.description, cheat.enabled, ii);
break;
case COLUMN_HI: