projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc712ea
)
Prefixing squirrel output with [SQUIRREL]
author
Tobias Markus
<tobbi@mozilla-uk.org>
Sat, 11 Oct 2014 22:08:50 +0000
(
00:08
+0200)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Sat, 11 Oct 2014 22:08:50 +0000
(
00:08
+0200)
src/scripting/scripting.cpp
patch
|
blob
|
history
diff --git
a/src/scripting/scripting.cpp
b/src/scripting/scripting.cpp
index
71645ab
..
1e27640
100644
(file)
--- 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);
}