]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cap_avi.c
Remove Con_Warnf and Errorf. Use macros to change color and identify the message
[xonotic/darkplaces.git] / cap_avi.c
index fff2f7a5dcad3049029a57f81587fb53aa01f562..029e4e19cc3a3fa3a0390766ae472dbdc3d37018 100644 (file)
--- a/cap_avi.c
+++ b/cap_avi.c
@@ -147,7 +147,7 @@ static void SCR_CaptureVideo_RIFF_Pop(void)
                if(sizehint != -1)
                {
                        int i;
-                       Con_Printf("WARNING: invalid size hint %d when writing video data (actual size: %d)\n", (int) sizehint, x);
+                       Con_Printf(CON_WARN "WARNING: invalid size hint %d when writing video data (actual size: %d)\n", (int) sizehint, x);
                        for(i = 0; i <= format->riffstacklevel; ++i)
                        {
                                Con_Printf("  RIFF level %d = %s\n", i, format->riffstackfourcc[i]);