From 1c17d0868fad5a62e99022a10475eaacdf10d3fa Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Sun, 10 Jan 2021 22:07:09 -0800 Subject: [PATCH] Fix Borland C++ build error (doesn't have stdbool.h) --- src/conio/ciolib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conio/ciolib.c b/src/conio/ciolib.c index c35658bfc7..733d1fd001 100644 --- a/src/conio/ciolib.c +++ b/src/conio/ciolib.c @@ -39,7 +39,6 @@ #include <stdarg.h> #include <stdlib.h> /* alloca */ #include <stdio.h> -#include <stdbool.h> #if defined(_WIN32) #include <malloc.h> /* alloca() on Win32 */ #endif @@ -1677,7 +1676,7 @@ CIOLIBEXPORT struct ciolib_screen * CIOLIBCALL ciolib_savescreen(void) } if (vmode != -1) { - ret->pixels = ciolib_getpixels(0, 0, vparams[vmode].charwidth * vparams[vmode].cols - 1, vparams[vmode].charheight * vparams[vmode].rows - 1, true); + ret->pixels = ciolib_getpixels(0, 0, vparams[vmode].charwidth * vparams[vmode].cols - 1, vparams[vmode].charheight * vparams[vmode].rows - 1, TRUE); } ciolib_vmem_gettext(1, 1, ret->text_info.screenwidth, ret->text_info.screenheight, ret->vmem); ret->fg_colour = ciolib_fg; -- GitLab