diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-03-28 21:12:54 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-03-28 21:12:54 +0000 |
| commit | af10e22140f34e25508a040820f8725df5e1c19d (patch) | |
| tree | 77f436c647dac183e3cf9b10ce0fdb6f5e8b7b5a /src | |
| parent | 119f78bee091847254ee3572129b329db8558fb2 (diff) | |
Made fluid compile under VicualC6 again. Unfortunatly , the wonderful 'print' addition crashes in fl_color_win32.cxx, line 72.
Fixed a silly 'I have a great idea - wait - what was it again'-bug that would use a static buffer twice - although without causing any bugs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Preferences.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx index 54d55c8dc..18a66bfee 100644 --- a/src/Fl_Preferences.cxx +++ b/src/Fl_Preferences.cxx @@ -883,7 +883,7 @@ Fl_Preferences::Node *Fl_Preferences::Node::addChild( const char *path ) { sprintf( nameBuffer, "%s/%s", path_, path ); char *name = strdup( nameBuffer ); - Node *nd = find( nameBuffer ); + Node *nd = find( name ); free( name ); dirty_ = 1; return nd; |
