]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
sys: Rename Sys_Print(f)ToTerminal to Sys_Print(f) for consistency
[xonotic/darkplaces.git] / sys_shared.c
index 3c6b0356698b63bb9bf8007ff6c5c9e8820739da..39c9bf8bf4e1507d37a0d59b831e078dae5c63a9 100644 (file)
@@ -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