X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=sys_shared.c;h=39c9bf8bf4e1507d37a0d59b831e078dae5c63a9;hb=03f5a13352c3f396291f80094c0547db60438bb3;hp=3c6b0356698b63bb9bf8007ff6c5c9e8820739da;hpb=775c0f6d056c37d2e23f9a96ec827023fe5e3404;p=xonotic%2Fdarkplaces.git diff --git a/sys_shared.c b/sys_shared.c index 3c6b0356..39c9bf8b 100644 --- a/sys_shared.c +++ b/sys_shared.c @@ -504,11 +504,11 @@ void Sys_Sleep(int microseconds) if(sys_debugsleep.integer) { t = Sys_DirtyTime() - t; - Sys_PrintfToTerminal("%d %d # debugsleep\n", microseconds, (unsigned int)(t * 1000000)); + Sys_Printf("%d %d # debugsleep\n", microseconds, (unsigned int)(t * 1000000)); } } -void Sys_PrintfToTerminal(const char *fmt, ...) +void Sys_Printf(const char *fmt, ...) { va_list argptr; char msg[MAX_INPUTLINE]; @@ -517,7 +517,7 @@ void Sys_PrintfToTerminal(const char *fmt, ...) dpvsnprintf(msg,sizeof(msg),fmt,argptr); va_end(argptr); - Sys_PrintToTerminal(msg); + Sys_Print(msg); } #ifndef WIN32