From ddc3964ed95d01e72229dc9af968a327cd84e56c Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 1 Oct 2004 13:21:35 +0000 Subject: - add python, missing gui - remove console (needs to be rewritten anyway) - eString -> std::string --- lib/base/eerror.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/base/eerror.cpp') diff --git a/lib/base/eerror.cpp b/lib/base/eerror.cpp index 68541d41..11bb9943 100644 --- a/lib/base/eerror.cpp +++ b/lib/base/eerror.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include // #include int infatal=0; -Signal2 logOutput; +Signal2 logOutput; int logOutputConsole=1; void eFatal(const char* fmt, ...) @@ -43,7 +43,7 @@ void eDebug(const char* fmt, ...) va_start(ap, fmt); vsnprintf(buf, 1024, fmt, ap); va_end(ap); - logOutput(lvlDebug, eString(buf) + "\n"); + logOutput(lvlDebug, std::string(buf) + "\n"); if (logOutputConsole) fprintf(stderr, "%s\n", buf); } @@ -67,7 +67,7 @@ void eWarning(const char* fmt, ...) va_start(ap, fmt); vsnprintf(buf, 1024, fmt, ap); va_end(ap); - logOutput(lvlWarning, eString(buf) + "\n"); + logOutput(lvlWarning, std::string(buf) + "\n"); if (logOutputConsole) fprintf(stderr, "%s\n", buf); } -- cgit v1.2.3