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]
This commit is contained in:
Simon Tatham
2008-09-19 07:31:52 +00:00
parent 734dc80c53
commit 8ad01fc6e7

View 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;
}
}