gtk-port: cheat-window size-column bug-fix
This commit is contained in:
parent
4175f299d3
commit
728db76bde
|
@ -116,7 +116,7 @@ static void cheat_list_modify_cheat(GtkCellRendererText * cell,
|
||||||
u32 v = atoi(new_text);
|
u32 v = atoi(new_text);
|
||||||
switch (column) {
|
switch (column) {
|
||||||
case COLUMN_SIZE:
|
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);
|
cheat.description, cheat.enabled, ii);
|
||||||
break;
|
break;
|
||||||
case COLUMN_HI:
|
case COLUMN_HI:
|
||||||
|
|
Loading…
Reference in New Issue