Skip to content

Commit

Permalink
Merge pull request #277 from swiderskis/master
Browse files Browse the repository at this point in the history
Fix Window::SetExitKey() method return type
  • Loading branch information
RobLoach authored Feb 7, 2024
2 parents dcfcdf2 + 010827d commit 93ecbe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Window.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class Window {
/**
* Set a custom key to exit program (default is ESC)
*/
bool SetExitKey(int key) {
return ::SetExitKey(key);
void SetExitKey(int key) {
::SetExitKey(key);
}

/**
Expand Down

0 comments on commit 93ecbe4

Please sign in to comment.