Skip to content
Snippets Groups Projects
Commit 1c17d086 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix Borland C++ build error (doesn't have stdbool.h)

parent aa8c0b95
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment