diff options
Diffstat (limited to 'gui.cpp')
-rw-r--r-- | gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -63,8 +63,9 @@ int butt::press(int x, int y) { int c = boxes.check(x, y); if (c != -1) { states[c] = states[c] ^ TOGGLE; + return 0; } - return 0; + return -1; } //doesn't do anything for now because just press will do the trick int butt::unpress(int index) { |