From 434e0ae458d1df2bd70614c69c34e710d9e09046 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 15 Oct 1998 14:44:26 +0000 Subject: [PATCH] Minor fix to Vincent's patch - bool isn't a standard type with all C++ compilers yet, so just use an int. git-svn-id: file:///fltk/svn/fltk/trunk@14 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Type.h | 2 +- fluid/Fl_Window_Type.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index e6968d13d..3ccbd0c54 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -141,4 +141,4 @@ const char *c_check(const char *c, int type = 0); // replace a string pointer with new value, strips leading/trailing blanks: int storestring(const char *n, const char * & p, int nostrip=0); -extern bool include_H_from_C; +extern int include_H_from_C; diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index d3fd4b323..cb52a46bb 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -21,7 +21,7 @@ int gridx = 5; int gridy = 5; int snap = 3; -bool include_H_from_C; +int include_H_from_C; void alignment_cb(Fl_Input *i, long v) { int n = atoi(i->value());