projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64bd35f
)
replaced main.cpp's NO_CATCH define by DEBUG
author
Christoph Sommer
<mail@christoph-sommer.de>
Tue, 1 Jul 2008 20:06:02 +0000
(20:06 +0000)
committer
Christoph Sommer
<mail@christoph-sommer.de>
Tue, 1 Jul 2008 20:06:02 +0000
(20:06 +0000)
SVN-Revision: 5643
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
ed1317e
..
d4da715
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-528,7
+528,7
@@
int main(int argc, char** argv)
{
int result = 0;
-#ifndef
NO_CATCH
+#ifndef
DEBUG
try {
#endif
@@
-608,7
+608,7
@@
int main(int argc, char** argv)
//init_rand(); PAK: this call might subsume the above 3, but I'm chicken!
main_loop->run(context);
-#ifndef
NO_CATCH
+#ifndef
DEBUG
} catch(std::exception& e) {
log_fatal << "Unexpected exception: " << e.what() << std::endl;
result = 1;