summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2009-12-28 23:10:11 +0000
committerMatthias Melcher <fltk@matthiasm.com>2009-12-28 23:10:11 +0000
commit2164880821959e68fbf55061eba274ca176e9b69 (patch)
treee68a9a01370d62c62d74240e57c72d581b9ed49a /src
parentae9b3365aa310d90d769576967263bf66bf41b19 (diff)
Fixed previous commit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Preferences.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx
index 41dd90c00..a1c332465 100644
--- a/src/Fl_Preferences.cxx
+++ b/src/Fl_Preferences.cxx
@@ -161,8 +161,8 @@ const char *Fl_Preferences::newUUID()
*/
Fl_Preferences::Fl_Preferences( Root root, const char *vendor, const char *application )
{
- rootNode = new RootNode( this, root, vendor, application );
node = new Node( "." );
+ rootNode = new RootNode( this, root, vendor, application );
node->setRoot(rootNode);
}
@@ -181,8 +181,8 @@ Fl_Preferences::Fl_Preferences( Root root, const char *vendor, const char *appli
*/
Fl_Preferences::Fl_Preferences( const char *path, const char *vendor, const char *application )
{
- rootNode = new RootNode( this, path, vendor, application );
node = new Node( "." );
+ rootNode = new RootNode( this, path, vendor, application );
node->setRoot(rootNode);
}