Skip to content

Commit

Permalink
Update src/tools/winutil.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Celtic Minstrel <CelticMinstrel@users.noreply.github.com>
  • Loading branch information
NQNStudios and CelticMinstrel authored Nov 23, 2024
1 parent dde430c commit 72767af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/winutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ double fallback_scale() {
// The best solution for this is to wrap pollEvent() so that it calls
// handleModifier for us every time.
bool pollEvent(sf::Window& win, sf::Event& event){
if (win.pollEvent(event)){
if(win.pollEvent(event)) {
if(kb.handleModifier(event)) return false;
return true;
}
Expand Down

0 comments on commit 72767af

Please sign in to comment.