]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_shared.c
removed \n from all Host_Error, Sys_Error, PRVM_ERROR, PF_ERROR calls, since Host_Err...
[xonotic/darkplaces.git] / vid_shared.c
index 30bb057babadadb31dad17c71f1bad389981c635..f9621dc3f3c8f98c7cb09745350d3a5531488df3 100644 (file)
@@ -625,7 +625,7 @@ void VID_CheckExtensions(void)
        gl_support_fragment_shader = false;
 
        if (!GL_CheckExtension("OpenGL 1.1.0", opengl110funcs, NULL, false))
        gl_support_fragment_shader = false;
 
        if (!GL_CheckExtension("OpenGL 1.1.0", opengl110funcs, NULL, false))
-               Sys_Error("OpenGL 1.1.0 functions not found\n");
+               Sys_Error("OpenGL 1.1.0 functions not found");
 
        Con_Printf("GL_VENDOR: %s\n", gl_vendor);
        Con_Printf("GL_RENDERER: %s\n", gl_renderer);
 
        Con_Printf("GL_VENDOR: %s\n", gl_vendor);
        Con_Printf("GL_RENDERER: %s\n", gl_renderer);
@@ -940,7 +940,7 @@ void VID_Restart_f(void)
        {
                Con_Print("Video mode change failed\n");
                if (!VID_Mode(vid.fullscreen, vid.width, vid.height, vid.bitsperpixel))
        {
                Con_Print("Video mode change failed\n");
                if (!VID_Mode(vid.fullscreen, vid.width, vid.height, vid.bitsperpixel))
-                       Sys_Error("Unable to restore to last working video mode\n");
+                       Sys_Error("Unable to restore to last working video mode");
        }
        VID_OpenSystems();
 }
        }
        VID_OpenSystems();
 }
@@ -992,7 +992,7 @@ void VID_Start(void)
                if (!success && vid_fullscreen.integer)
                        success = VID_Mode(false, 640, 480, 16);
                if (!success)
                if (!success && vid_fullscreen.integer)
                        success = VID_Mode(false, 640, 480, 16);
                if (!success)
-                       Sys_Error("Video modes failed\n");
+                       Sys_Error("Video modes failed");
        }
        VID_OpenSystems();
 }
        }
        VID_OpenSystems();
 }