Author: suokko
Date: Tue Jun 17 10:16:55 2008
New Revision: 27254
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27254&view=rev
Log:
Fixed wrong result values in mac after disabling a menu entry
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=27254&r1=27253&r2=27254&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Tue Jun 17 10:16:55 2008
@@ -1733,6 +1733,13 @@
d.set_menu(host_or_join);
d.set_textbox(_("Login: "), login,
mp::max_login_size, font::relative_size(250));
res = d.show();
+#ifdef __APPLE__
+ // hack to make hotseat to have res number 3 in
mac
+ if (res == 2)
+ {
+ res = 3;
+ }
+#endif
login = d.textbox_text();
if (res == 2 &&
preferences::mp_server_warning_disabled() < 2)
{
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits