This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 44fadbc27594d98a72724f2ad65c96de1e4d71d7 Author: David Capello <[email protected]> Date: Tue Apr 12 11:33:48 2016 -0300 Fix key modifiers on Alleg4/Windows back-end --- src/she/alleg4/she.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/she/alleg4/she.cpp b/src/she/alleg4/she.cpp index b9ada00..3fdea81 100644 --- a/src/she/alleg4/she.cpp +++ b/src/she/alleg4/she.cpp @@ -229,6 +229,7 @@ void error_message(const char* msg) bool is_key_pressed(KeyScancode scancode) { +#ifdef ALLEGRO_UNIX if (scancode == kKeyLShift || scancode == kKeyRShift) { return key_shifts & KB_SHIFT_FLAG; } @@ -238,6 +239,7 @@ bool is_key_pressed(KeyScancode scancode) else if (scancode == kKeyAlt) { return key_shifts & KB_ALT_FLAG; } +#endif return key[scancode] ? true: false; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

