aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty/notepad-2/notepadCore.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/3rdparty/notepad-2/notepadCore.c')
-rw-r--r--demos/3rdparty/notepad-2/notepadCore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/3rdparty/notepad-2/notepadCore.c b/demos/3rdparty/notepad-2/notepadCore.c
index 931ec331..65afc988 100644
--- a/demos/3rdparty/notepad-2/notepadCore.c
+++ b/demos/3rdparty/notepad-2/notepadCore.c
@@ -53,7 +53,7 @@ static gfxThreadHandle nThd;
static GHandle ncoreDrawingArea = NULL;
static GHandle nStatusConsole = NULL;
-static volatile bool_t doExit;
+static volatile gBool doExit;
static void draw_point(coord_t x, coord_t y) {
color_t c = ncoreDrawingArea->color;
@@ -204,7 +204,7 @@ void ncoreSpawnDrawThread(GHandle drawingArea, GHandle statusConsole) {
ncoreDrawingArea = drawingArea;
nStatusConsole = statusConsole;
- doExit = FALSE;
+ doExit = gFalse;
nThd = gfxThreadCreate(waDrawThread,
sizeof(waDrawThread),
@@ -216,7 +216,7 @@ void ncoreSpawnDrawThread(GHandle drawingArea, GHandle statusConsole) {
/* Terminate the core thread, wait for control release */
void ncoreTerminateDrawThread(void) {
- doExit = TRUE;
+ doExit = gTrue;
gfxThreadWait(nThd);
nThd = 0;
}