Cut-and-paste error which was preventing any drop-down list in the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 19 Sep 2008 07:31:52 +0000 (07:31 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 19 Sep 2008 07:31:52 +0000 (07:31 +0000)
custom game configuration code from working in the Java applets.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8192 cda61777-01e9-0310-a592-d414129be87e

PuzzleApplet.java

index 43d2f35..23eda81 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;
                 }
             }