diff options
| author | Greg Ercolano <erco@seriss.com> | 2009-03-27 16:52:31 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2009-03-27 16:52:31 +0000 |
| commit | f91d96253665065361519885ccfb72f31322e281 (patch) | |
| tree | be83334fe1d65ed801e422768e5d7ede181d0a24 /src/Fl_Browser_load.cxx | |
| parent | 4d82b1483129fabeb6fd99616570298c567759b6 (diff) | |
Doxgen mods for Fl_Browser*:
o Added \see for all methods that seemed to need it
o Fix to has_scroll() enum docs as per Albrecht's comments
o Other small doc tweaks
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Browser_load.cxx')
| -rw-r--r-- | src/Fl_Browser_load.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Fl_Browser_load.cxx b/src/Fl_Browser_load.cxx index bd9118d33..892f6ed00 100644 --- a/src/Fl_Browser_load.cxx +++ b/src/Fl_Browser_load.cxx @@ -37,6 +37,9 @@ was any error in opening or reading the file, in which case errno is set to the system error. The data() of each line is set to NULL. + \param[in] filename The filename to load + \returns 1 if OK, 0 on error (errno has reason) + \see add() */ int Fl_Browser::load(const char *filename) { #define MAXFL_BLINE 1024 @@ -54,8 +57,9 @@ int Fl_Browser::load(const char *filename) { newtext[i] = 0; add(newtext); i = 0; - } else + } else { newtext[i++] = c; + } } while (c >= 0); fclose(fl); return 1; |
