summaryrefslogtreecommitdiff
path: root/src/interface/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/Window.cpp')
-rw-r--r--src/interface/Window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/Window.cpp b/src/interface/Window.cpp
index 86221ab..8dba69a 100644
--- a/src/interface/Window.cpp
+++ b/src/interface/Window.cpp
@@ -1,3 +1,4 @@
+#include <iostream>
#include "Window.h"
#include "Component.h"
#include "interface/Point.h"
@@ -209,7 +210,7 @@ void Window::DoTick(float dt)
void Window::DoKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt)
{
#ifdef DEBUG
- if(character = 'd' && ctrl && shift)
+ if(key == KEY_TAB && ctrl)
debugMode = !debugMode;
if(debugMode)
{