Skip to content

Commit fe37508

Browse files
jayrmcountingpine
authored andcommitted
rtlib: dos: fix gcc warning
1 parent 5e4d2de commit fe37508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rtlib/dos/io_cls.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ void fb_ConsoleClear( int mode )
88
{
99
int toprow, botrow;
1010

11-
if( mode==1 )
11+
if( mode==1 ) {
1212
return;
13+
}
1314

1415
if( (mode == 2) || (mode == (int)0xFFFF0000) ) { /* same as gfxlib's DEFAULT_COLOR */
1516
fb_ConsoleGetView( &toprow, &botrow );

0 commit comments

Comments
 (0)