summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-10-15 14:44:26 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-10-15 14:44:26 +0000
commit434e0ae458d1df2bd70614c69c34e710d9e09046 (patch)
tree991ca2d245527462dd65bf62db0893e91edde847 /fluid
parent67d2f102d9a512373780fad217e6bb06dd2b34ec (diff)
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
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Type.h2
-rw-r--r--fluid/Fl_Window_Type.cxx2
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());