diff options
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); } |