summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Preferences.cxx6
-rw-r--r--src/fl_draw.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx
index ad988b1a0..f96f90ccb 100644
--- a/src/Fl_Preferences.cxx
+++ b/src/Fl_Preferences.cxx
@@ -561,8 +561,8 @@ static void *decodeHex( const char *src, int &size )
(non-zero) or the default was used (0).
'maxSize' is the maximum length of text that will be read.
- \param[in] entry name of entry
- \param[out] value returned from preferences or default value if none was set
+ \param[in] key name of entry
+ \param[out] data value returned from preferences or default value if none was set
\param[in] defaultValue default value to be used if no preference was set
\param[in] defaultSize size of default value array
\param[in] maxSize maximum length of value
@@ -628,7 +628,7 @@ char Fl_Preferences::get( const char *key, void *&data, const void *defaultValue
\param[in] key name of entry
\param[in] data set this entry to \a value
- \param[in] size of data array
+ \param[in] dsize size of data array
\return 0 if setting the value failed
*/
char Fl_Preferences::set( const char *key, const void *data, int dsize )
diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx
index 2737e42eb..d4b42cec7 100644
--- a/src/fl_draw.cxx
+++ b/src/fl_draw.cxx
@@ -102,7 +102,7 @@ static bool handle_utf8_seq(const char * &s,char * &d) {
}
/**
- Copy \a from to \a buf, replacing unprintable characters with ^X and \nnn
+ Copy \a from to \a buf, replacing unprintable characters with ^X and \\nnn
Stop at a newline or if MAXBUF characters written to buffer.
Also word-wrap if width exceeds maxw.
Returns a pointer to the start of the next line of caharcters.
@@ -358,7 +358,7 @@ void fl_draw(
is non-zero it will wrap to that width.
\param[in] str nul-terminated string
\param[out] w,h width and height of string in current font
- \param[in] draw_symbols non-zero to enable @symbol handling [default=1]
+ \param[in] draw_symbols non-zero to enable @@symbol handling [default=1]
*/
void fl_measure(const char* str, int& w, int& h, int draw_symbols) {
if (!str || !*str) {w = 0; h = 0; return;}