Quelled some warnings from Turbo C GUI compilation.
authorDavid Griffith <dave@661.org>
Sat, 1 Feb 2025 21:56:41 +0000 (13:56 -0800)
committerDavid Griffith <dave@661.org>
Sat, 1 Feb 2025 21:56:41 +0000 (13:56 -0800)
src/dos/dospic.c

index 1ff213d0299b0bf5a44ed7e1969243ca41d92ea1..d79f0cb99910048d3bac1b21d2072ea1f5ebd732 100644 (file)
@@ -796,10 +796,10 @@ bool os_picture_data(int picture, int *height, int *width)
 
 #else /* NO_GRAPHICS */
 
-bool init_pictures(void) {}
+bool init_pictures(void) { return FALSE; }
 void reset_pictures(void) {}
-int os_peek_colour(void) {}
+int os_peek_colour(void) { return current_bg; }
 void os_draw_picture(int picture, int y, int x) {}
-bool os_picture_data(int picture, int *height, int *width) {}
+bool os_picture_data(int picture, int *height, int *width) { return FALSE; }
 
 #endif