From: Tobias Markus Date: Sat, 11 Oct 2014 22:08:50 +0000 (+0200) Subject: Prefixing squirrel output with [SQUIRREL] X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6ccf35c3bf963f11b1a227014f27ffc194703076;p=supertux.git Prefixing squirrel output with [SQUIRREL] --- diff --git a/src/scripting/scripting.cpp b/src/scripting/scripting.cpp index 71645ab38..1e27640f9 100644 --- a/src/scripting/scripting.cpp +++ b/src/scripting/scripting.cpp @@ -48,7 +48,7 @@ void printfunc(HSQUIRRELVM, const char* fmt, ...) va_list arglist; va_start(arglist, fmt); vsnprintf(buf, sizeof(buf), fmt, arglist); - ConsoleBuffer::output << (const char*) buf << std::flush; + ConsoleBuffer::output << "[SQUIRREL] " << (const char*) buf << std::flush; va_end(arglist); }