fix alt key under macosx
This commit is contained in:
parent
30df2a8e78
commit
f18777e461
3 changed files with 8 additions and 2 deletions
|
@ -41,6 +41,8 @@ SVN trunk (1.1.2+svn):
|
|||
* Wesnoth engine
|
||||
* new unit display graphic engine...
|
||||
* added unit cost to help
|
||||
* misc
|
||||
* fix alt key under MacosX
|
||||
|
||||
Version 1.1.2:
|
||||
* campaigns
|
||||
|
|
|
@ -169,7 +169,11 @@ void hotkey_item::load_from_config(const config& cfg)
|
|||
keycode_ = num + SDLK_F1 - 1;
|
||||
}
|
||||
}
|
||||
} else if (key == " " || shift_) {
|
||||
} else if (key == " " || shift_
|
||||
#ifdef __APPLE__
|
||||
|| alt_
|
||||
#endif
|
||||
) {
|
||||
// Space must be treated as a key because shift-space
|
||||
// isn't a different character from space, and control key
|
||||
// makes it go weird. shift=yes should never be specified
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#else
|
||||
# define VERSION "1.1.2+svn"
|
||||
# define VERSION "1.1.1+svn"
|
||||
# define WESNOTH_DEFAULT_SERVER "devsrv.wesnoth.org:14998"
|
||||
# define PACKAGE "wesnoth"
|
||||
# ifndef LOCALEDIR
|
||||
|
|
Loading…
Add table
Reference in a new issue