summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-11-18 18:40:09 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-11-18 18:40:09 +0000
commited4cdc51daae6d1d50f87892f552874e0fbdfa1f (patch)
tree9493b1a5b75d29bc27a45b9d6ebe3f9965075cd6 /fluid
parent7f473a13492a1beb48f199c913fabfbc38be692f (diff)
Fluid fix from Gustavo.
git-svn-id: file:///fltk/svn/fltk/trunk@95 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Widget_Type.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index ecc5eb4c3..22927460c 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Widget_Type.cxx,v 1.6 1998/11/09 14:06:25 mike Exp $"
+// "$Id: Fl_Widget_Type.cxx,v 1.7 1998/11/18 18:40:09 mike Exp $"
//
// Widget type code for the Fast Light Tool Kit (FLTK).
//
@@ -786,9 +786,9 @@ void user_data_type_cb(Fl_Input *i, void *v) {
i->static_value(c);
} else {
const char *c = i->value();
+ const char *d = c_check(c);
if (!*c) i->value(dflt);
else if (!strcmp(c,dflt)) c = 0;
- const char *d = c_check(c);
if (!d) {
if (c && *c && c[strlen(c)-1] != '*' && strcmp(c,"long"))
d = "must be pointer or long";
@@ -1699,5 +1699,5 @@ int Fl_Widget_Type::read_fdesign(const char* name, const char* value) {
}
//
-// End of "$Id: Fl_Widget_Type.cxx,v 1.6 1998/11/09 14:06:25 mike Exp $".
+// End of "$Id: Fl_Widget_Type.cxx,v 1.7 1998/11/18 18:40:09 mike Exp $".
//