mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Fixed small typo, added some elipsis to clarify docs
when copy/pasting into email/forum posts as clear text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -863,17 +863,17 @@ int Fl_Preferences::size( const char *key ) {
|
|||||||
database without the \c .prefs extension and located in the same directory.
|
database without the \c .prefs extension and located in the same directory.
|
||||||
It then fills the given buffer with the complete path name.
|
It then fills the given buffer with the complete path name.
|
||||||
|
|
||||||
Exmaple:
|
Example:
|
||||||
\code
|
\code
|
||||||
Fl_Preferences prefs( USER, "matthiasm.com", "test" );
|
Fl_Preferences prefs( USER, "matthiasm.com", "test" );
|
||||||
char path[FL_PATH_MAX];
|
char path[FL_PATH_MAX];
|
||||||
prefs.getUserdataPath( path );
|
prefs.getUserdataPath( path );
|
||||||
\endcode
|
\endcode
|
||||||
creates the preferences database in (MS Windows):
|
..creates the preferences database in (MS Windows):
|
||||||
\code
|
\code
|
||||||
c:/Documents and Settings/matt/Application Data/matthiasm.com/test.prefs
|
c:/Documents and Settings/matt/Application Data/matthiasm.com/test.prefs
|
||||||
\endcode
|
\endcode
|
||||||
and returns the userdata path:
|
..and returns the userdata path:
|
||||||
\code
|
\code
|
||||||
c:/Documents and Settings/matt/Application Data/matthiasm.com/test/
|
c:/Documents and Settings/matt/Application Data/matthiasm.com/test/
|
||||||
\endcode
|
\endcode
|
||||||
|
|||||||
Reference in New Issue
Block a user