Skip to content

Commit

Permalink
fix char comparison on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
silverweed committed Sep 5, 2024
1 parent a4b9b52 commit e645894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lifish/level/InterlevelContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ bool InterlevelContext::_handleEventPromptHighscore(sf::Event event) {
}

const char ch = lif::kb::keyToAlnum(event.key.code);
if (ch < 0)
if (ch == (char)-1)
return false;

if (bufIdx < buffer.size()) {
Expand Down

0 comments on commit e645894

Please sign in to comment.