From c37042e3f9d65062d9464d782eeec3bc3efd6f42 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 22 Apr 2011 07:53:31 -0700 Subject: work towards QUANTUM_SIZE=1 (unused) --- tests/cubescript/command.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/cubescript/command.cpp') 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); -- cgit v1.2.3-70-g09d2