diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-01-18 11:39:57 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-01-18 11:39:57 +0000 |
| commit | 92d846caa4140f021e1732d3e4f434d825960fde (patch) | |
| tree | 06b38291e97030d73eb33cb7a3e07b7706ce1032 /src/Fl_Preferences.cxx | |
| parent | c7b046751871cb3a66f949a45ee96be93dd55071 (diff) | |
Fixed Fl_Preferences documentation typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Preferences.cxx')
| -rw-r--r-- | src/Fl_Preferences.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx index a9296dc40..c8f0771aa 100644 --- a/src/Fl_Preferences.cxx +++ b/src/Fl_Preferences.cxx @@ -330,7 +330,7 @@ Fl_Preferences::Fl_Preferences( Fl_Preferences *parent, int groupIndex ) { An ID can be retrieved from any Fl_Preferences dataset, and can then be used to create multiple new references to the same dataset. - ID's can be put very helpful when put into the <tt>user_data()</tt> field of + ID's can be very helpful when put into the <tt>user_data()</tt> field of widget callbacks. */ Fl_Preferences::Fl_Preferences( Fl_Preferences::ID id ) { @@ -370,7 +370,7 @@ Fl_Preferences::~Fl_Preferences() { if (node && !node->parent()) delete rootNode; // DO NOT delete nodes! The root node will do that after writing the preferences // zero all pointer to avoid memory errors, even though - // Valgrind does not complain (Cygwind does though) + // Valgrind does not complain (Cygwin does though) node = 0L; rootNode = 0L; } @@ -657,7 +657,7 @@ static char *decodeText( const char *src ) { supplied. The return value indicates if the value was available (non-zero) or the default was used (0). 'maxSize' is the maximum length of text that will be read. - The text buffer must allow for one additional byte for a trailling zero. + The text buffer must allow for one additional byte for a trailing zero. \param[in] key name of entry \param[out] text returned from preferences or default value if none was set |
