mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 11:25:22 +08:00
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
This commit is contained in:
+1
-1
@@ -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:
|
// replace a string pointer with new value, strips leading/trailing blanks:
|
||||||
int storestring(const char *n, const char * & p, int nostrip=0);
|
int storestring(const char *n, const char * & p, int nostrip=0);
|
||||||
|
|
||||||
extern bool include_H_from_C;
|
extern int include_H_from_C;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ int gridx = 5;
|
|||||||
int gridy = 5;
|
int gridy = 5;
|
||||||
int snap = 3;
|
int snap = 3;
|
||||||
|
|
||||||
bool include_H_from_C;
|
int include_H_from_C;
|
||||||
|
|
||||||
void alignment_cb(Fl_Input *i, long v) {
|
void alignment_cb(Fl_Input *i, long v) {
|
||||||
int n = atoi(i->value());
|
int n = atoi(i->value());
|
||||||
|
|||||||
Reference in New Issue
Block a user