diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-11 21:10:51 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-11 21:10:51 +0000 |
commit | 3fcbf718bcf5c937fa62c31abb13dacc606f3893 (patch) | |
tree | e1b766c3e87bda03555287acb07d94e96a293369 /src/log.cpp | |
parent | 05d33ff0f45fce64889b18bc95818fe1610839ad (diff) | |
download | mana-3fcbf718bcf5c937fa62c31abb13dacc606f3893.tar.gz mana-3fcbf718bcf5c937fa62c31abb13dacc606f3893.tar.bz2 mana-3fcbf718bcf5c937fa62c31abb13dacc606f3893.tar.xz mana-3fcbf718bcf5c937fa62c31abb13dacc606f3893.zip |
Pretty much fix the segfault by removing the copying and not unloading the
datafile. Not sure what was wrong exactly though.
Diffstat (limited to 'src/log.cpp')
-rw-r--r-- | src/log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.cpp b/src/log.cpp index 578fa957..ecc54aea 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -85,7 +85,7 @@ void error(const string error_text) { #ifdef WIN32 MessageBox(NULL, error_text.c_str(), "Error", MB_ICONERROR|MB_OK); #else - fprintf(stderr, "Error: %s\n", error_text); + fprintf(stderr, "Error: %s\n", error_text.c_str()); #endif exit(1); } |