summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-04-30 18:11:49 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-04-30 18:11:49 +0000
commit1f5448409b34b28a38ac48ae47ce2f66731142ef (patch)
tree0a813a222374ef7977c135a7eae04fed9831d173 /test
parent19b4d2fd1cb060a83ed75353f876dec3877059a5 (diff)
Fl_Preferences::getUserdataPath() and getPath() methods now require a
length parameter for the string. Added GUI preferences and file history to FLUID, using Fl_Preferences. FLUID now uses getUserdataPath() for the cut buffer location. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/preferences.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/preferences.cxx b/test/preferences.cxx
index 6c8de6308..6943ffd5f 100644
--- a/test/preferences.cxx
+++ b/test/preferences.cxx
@@ -172,7 +172,7 @@ double doubleValue;
Fl_Preferences app( Fl_Preferences::USER, "fltk.org", "test/preferences" );
char path[ FL_PATH_MAX ];
- app.getUserdataPath( path );
+ app.getUserdataPath( path, sizeof(path) );
Fl_Preferences bed( app, "Bed" );
bed.get( "alarm", buffer, "8:00", 80 );