mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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:
@ -604,7 +604,7 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB {
|
|||||||
break;
|
break;
|
||||||
case C_CHOICES:
|
case C_CHOICES:
|
||||||
JComboBox jcm = (JComboBox)cc.component;
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user