diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-04-14 21:41:27 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-04-14 21:42:04 +0200 |
| commit | 41b1f1f91197b40b243b6a0b38cc36ff3bc824fe (patch) | |
| tree | 8a394aee8d391c479b0165c187c963746e9ffd86 /documentation/src/editor.dox | |
| parent | 78aa959ab9220edae727f9d3dea1e2012c7a6892 (diff) | |
Improve documentation (test/editor) (#219)
Add missing declaration, update more declarations.
Diffstat (limited to 'documentation/src/editor.dox')
| -rw-r--r-- | documentation/src/editor.dox | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/src/editor.dox b/documentation/src/editor.dox index 9454adc4e..8a0eb3cd7 100644 --- a/documentation/src/editor.dox +++ b/documentation/src/editor.dox @@ -50,8 +50,9 @@ Our text editor will need some global variables to keep track of things: \code int changed = 0; -char filename[256] = ""; -Fl_Text_Buffer *textbuf; +char filename[FL_PATH_MAX] = ""; +char title[FL_PATH_MAX]; +Fl_Text_Buffer *textbuf = 0; \endcode The \p textbuf variable is the text editor buffer for |
