CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Bram Ridder <[EMAIL PROTECTED]> 05/07/20 06:51:01
Modified files:
data/themes : editor.cfg
src/editor : editor_main.cpp
Log message:
Fixed the shotkey bug under apple computers
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/themes/editor.cfg.diff?tr1=1.37&tr2=1.38&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/editor/editor_main.cpp.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
Patches:
Index: wesnoth/data/themes/editor.cfg
diff -u wesnoth/data/themes/editor.cfg:1.37 wesnoth/data/themes/editor.cfg:1.38
--- wesnoth/data/themes/editor.cfg:1.37 Wed Jul 20 05:27:34 2005
+++ wesnoth/data/themes/editor.cfg Wed Jul 20 06:51:01 2005
@@ -11,7 +11,7 @@
name=editor
#textdomain wesnoth-editor
-#ifdef __APPLE__
+#ifdef APPLE
[hotkey]
command="zoomin"
key="z"
Index: wesnoth/src/editor/editor_main.cpp
diff -u wesnoth/src/editor/editor_main.cpp:1.36
wesnoth/src/editor/editor_main.cpp:1.37
--- wesnoth/src/editor/editor_main.cpp:1.36 Sun Jul 17 14:02:06 2005
+++ wesnoth/src/editor/editor_main.cpp Wed Jul 20 06:51:01 2005
@@ -213,6 +213,10 @@
// make it load that way maybe.
defines_map["MULTIPLAYER"] = preproc_define();
+#if defined(__APPLE__)
+ defines_map["APPLE"] = preproc_define();
+#endif
+
//Set the locale first, then read the configuration, or else WML
//strings are not correctly translated. Does this work on on the win32
//platform?