Skip to content

Commit

Permalink
Improve documentation (test/editor) (#219)
Browse files Browse the repository at this point in the history
Add missing declaration, update more declarations.
  • Loading branch information
Albrecht Schlosser committed Apr 14, 2021
1 parent 78aa959 commit 41b1f1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions documentation/src/editor.dox
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41b1f1f

Please sign in to comment.