From f880048270874d825b70997ac15ca1b78fe8abcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Sat, 10 Dec 2016 22:21:13 +0700 Subject: [PATCH] Oops, committed by mistake a temporary commenting of code --- Source/main.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/main.cpp b/Source/main.cpp index e0bf430..4ff4ebc 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -626,7 +626,7 @@ int main(int argc, char **argv) LOGFUNC; - //~ try { + try { { newGame(); @@ -677,16 +677,16 @@ int main(int argc, char **argv) CleanUp (); return 0; - //~ } catch (const std::exception& error) { - //~ CleanUp(); + } catch (const std::exception& error) { + CleanUp(); - //~ std::string e = "Caught exception: "; - //~ e += error.what(); + std::string e = "Caught exception: "; + e += error.what(); - //~ LOG(e); + LOG(e); - //~ SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Exception catched", error.what(), NULL); + SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Exception catched", error.what(), NULL); - //~ return -1; - //~ } + return -1; + } } -- 2.39.5