Fixed the shotkey bug under apple computers

This commit is contained in:
Bram Ridder 2005-07-20 06:51:01 +00:00
parent 3a07ec23d7
commit 8113e295ec
2 changed files with 5 additions and 1 deletions

View file

@ -11,7 +11,7 @@ height=1
name=editor
#textdomain wesnoth-editor
#ifdef __APPLE__
#ifdef APPLE
[hotkey]
command="zoomin"
key="z"

View file

@ -213,6 +213,10 @@ int main(int argc, char** argv)
// 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?