Skip to content

Commit

Permalink
fixed: key assign is broken on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
k2nr committed Mar 30, 2012
1 parent 6ee4dba commit ce443a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coffee/key.coffee
Expand Up @@ -250,7 +250,7 @@ g.KeyManager =
result = keyIdentifier[code]

# bull shit! fxxk windows and linux
if util.getPlatform() == "Windows" or util.getPlatform() == "Linux"
if util.getPlatform() != "Mac"
if g.util.getLang() == "ja"
if shift
if shiftWinKeyIdentifier_ja[code]?
Expand Down
2 changes: 1 addition & 1 deletion key.js
Expand Up @@ -269,7 +269,7 @@
getLocalKeyCode: function(code, ctrl, shift, alt, meta) {
var result;
result = keyIdentifier[code];
if (util.getPlatform() === "Windows" || util.getPlatform() === "Linux") {
if (util.getPlatform() !== "Mac") {
if (g.util.getLang() === "ja") {
if (shift) {
if (shiftWinKeyIdentifier_ja[code] != null) {
Expand Down

0 comments on commit ce443a7

Please sign in to comment.