From: Simon Tatham Date: Fri, 19 Sep 2008 07:31:52 +0000 (+0000) Subject: Cut-and-paste error which was preventing any drop-down list in the X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=8ad01fc6e78da7c907568266a6fb5c17b627af3b;p=sgt-puzzles.git Cut-and-paste error which was preventing any drop-down list in the custom game configuration code from working in the Java applets. [originally from svn r8192] --- diff --git a/PuzzleApplet.java b/PuzzleApplet.java index 43d2f35..23eda81 100644 --- a/PuzzleApplet.java +++ b/PuzzleApplet.java @@ -604,7 +604,7 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB { break; case C_CHOICES: JComboBox jcm = (JComboBox)cc.component; - runtimeCall("jcallback_config_set_boolean", new int[] {cc.configItemPointer, jcm.getSelectedIndex()}); + runtimeCall("jcallback_config_set_choice", new int[] {cc.configItemPointer, jcm.getSelectedIndex()}); break; } }