From: simon 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: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/f87c357f5e4e39628192ca03414114f0c56fc89f Cut-and-paste error which was preventing any drop-down list in the 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 --- 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; } }