From: Côme Chilliet Date: Sat, 10 Dec 2016 15:21:13 +0000 (+0700) Subject: Oops, committed by mistake a temporary commenting of code X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=f880048270874d825b70997ac15ca1b78fe8abcb;p=lugaru.git Oops, committed by mistake a temporary commenting of code --- 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; + } }