summaryrefslogtreecommitdiffstats
path: root/src/os_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 2912b0df75..fe729d4de2 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -2224,14 +2224,10 @@ ClearConsoleBuffer(WORD wAttribute)
coord.Y = 0;
if (!FillConsoleOutputCharacter(g_hConOut, ' ', NumCells,
coord, &dummy))
- {
return FALSE;
- }
if (!FillConsoleOutputAttribute(g_hConOut, wAttribute, NumCells,
coord, &dummy))
- {
return FALSE;
- }
return TRUE;
}
@@ -2467,9 +2463,7 @@ RestoreConsoleBuffer(
cb->BufferSize, /* dimensions of our buffer */
BufferCoord, /* offset in our buffer */
&WriteRegion)) /* region to restore */
- {
return FALSE;
- }
}
}