chiark / gitweb /
Cut-and-paste error which was preventing any drop-down list in the
authorSimon Tatham <anakin@pobox.com>
Fri, 19 Sep 2008 07:31:52 +0000 (07:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 19 Sep 2008 07:31:52 +0000 (07:31 +0000)
custom game configuration code from working in the Java applets.

[originally from svn r8192]

PuzzleApplet.java

index 43d2f35a4e9da314585ede6457bf69f6d60918f7..23eda81b5dfb5d4cd3849fa26bf2b0a6bb59b294 100644 (file)
@@ -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;
                 }
             }