aboutsummaryrefslogtreecommitdiff
path: root/tests/cubescript/command.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-04-22 07:53:31 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-04-22 07:53:31 -0700
commitc37042e3f9d65062d9464d782eeec3bc3efd6f42 (patch)
treeeb3f3ef6f8d7be559cf32d0ff5f7e8916ba5d295 /tests/cubescript/command.cpp
parent887ce3dde89410d012a708c3ec454f679b2e5b1e (diff)
work towards QUANTUM_SIZE=1 (unused)
Diffstat (limited to 'tests/cubescript/command.cpp')
-rw-r--r--tests/cubescript/command.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/cubescript/command.cpp b/tests/cubescript/command.cpp
index cfd3d116..186048e8 100644
--- a/tests/cubescript/command.cpp
+++ b/tests/cubescript/command.cpp
@@ -1,8 +1,6 @@
// command.cpp: implements the parsing and execution of a tiny script language which
// is largely backwards compatible with the quake console language.
-// XXX Emscripten: changed all sizeof to ES_SIZEOF
-
// XXX Emscripten
#define STANDALONE
@@ -1314,7 +1312,7 @@ void conline(int type, const char *sf) // add a line to the console buffe
void conoutfv(int type, const char *fmt, va_list args)
{
static char buf[CONSTRLEN];
- vformatstring(buf, fmt, args, ES_SIZEOF(char)*CONSTRLEN); // XXX Emscripten
+ vformatstring(buf, fmt, args, sizeof(char)*CONSTRLEN);
conline(type, buf);
//filtertext(buf, buf); // XXX Emscripten
puts(buf);