From 728db76bdec9162275f7cd91d8f44ce97a4c3796 Mon Sep 17 00:00:00 2001 From: matusz Date: Sun, 14 Jun 2009 01:53:55 +0000 Subject: [PATCH] gtk-port: cheat-window size-column bug-fix --- desmume/src/gtk/cheatsGTK.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/gtk/cheatsGTK.cpp b/desmume/src/gtk/cheatsGTK.cpp index 8e6816c72..a2b67cc59 100644 --- a/desmume/src/gtk/cheatsGTK.cpp +++ b/desmume/src/gtk/cheatsGTK.cpp @@ -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: