removed duplicated assignment to the local 'was_changed'

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@760 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2012-10-06 12:28:33 +00:00
parent 0a3bb37df0
commit c997ffa6d1

View file

@ -1336,7 +1336,7 @@ void VID_Toggle (void)
goto vrestart;
if (SDL_WM_ToggleFullScreen(draw_context) == 1)
{
qboolean was_changed = vid_changed;
qboolean was_changed;
Sbar_Changed (); // Sbar seems to need refreshing
windowed = !windowed;
@ -1360,7 +1360,7 @@ void VID_Toggle (void)
{
vid_toggle_works = false;
Con_DPrintf ("ToggleFullScreen failed, attempting VID_Restart\n");
vrestart:
vrestart:
Cvar_SetQuick (&vid_fullscreen, vid_fullscreen.value ? "0" : "1");
Cbuf_AddText ("vid_restart\n");
}