wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src hotkeys.cpp


From: ott
Subject: [Wesnoth-cvs-commits] wesnoth/src hotkeys.cpp
Date: Thu, 12 May 2005 16:47:08 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <address@hidden>    05/05/12 20:47:08

Modified files:
        src            : hotkeys.cpp 

Log message:
        right-META may already be used, make this Mac specific

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/hotkeys.cpp.diff?tr1=1.75&tr2=1.76&r1=text&r2=text

Patches:
Index: wesnoth/src/hotkeys.cpp
diff -u wesnoth/src/hotkeys.cpp:1.75 wesnoth/src/hotkeys.cpp:1.76
--- wesnoth/src/hotkeys.cpp:1.75        Thu May 12 20:36:47 2005
+++ wesnoth/src/hotkeys.cpp     Thu May 12 20:47:05 2005
@@ -1,4 +1,4 @@
-/* $Id: hotkeys.cpp,v 1.75 2005/05/12 20:36:47 ott Exp $ */
+/* $Id: hotkeys.cpp,v 1.76 2005/05/12 20:47:05 ott Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -299,8 +299,10 @@
                        (event.keysym.mod & KMOD_CTRL) != 0,
                        (event.keysym.mod & KMOD_ALT) != 0,
                        (event.keysym.mod & KMOD_LMETA) != 0
-                       || (event.keysym.mod & KMOD_RMETA) != 0,
-                       mods);
+#ifdef __APPLE__
+                       || (event.keysym.mod & KMOD_RMETA) != 0
+#endif
+                       , mods);
 }
 
 hotkey_item& get_visible_hotkey(int index)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]