[master] 41b1f1f - Improve documentation (test/editor) (#219)

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 41b1f1f - Improve documentation (test/editor) (#219) "Albrecht Schlosser" 12:47 Apr 14 top right image
 
commit 41b1f1f91197b40b243b6a0b38cc36ff3bc824fe
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Wed Apr 14 21:41:27 2021 +0200
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Wed Apr 14 21:42:04 2021 +0200

    Improve documentation (test/editor) (#219)
    
    Add missing declaration, update more declarations.

 documentation/src/editor.dox | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git documentation/src/editor.dox documentation/src/editor.dox
index 9454adc..8a0eb3c 100644
--- documentation/src/editor.dox
+++ 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
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.