diff options
Diffstat (limited to 'fluid/widgets/Text_Viewer.cxx')
| -rw-r--r-- | fluid/widgets/Text_Viewer.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fluid/widgets/Text_Viewer.cxx b/fluid/widgets/Text_Viewer.cxx index ba2d145fe..5ae821d6b 100644 --- a/fluid/widgets/Text_Viewer.cxx +++ b/fluid/widgets/Text_Viewer.cxx @@ -1,6 +1,5 @@ // -// Code editor widget for the Fast Light Tool Kit (FLTK). -// Syntax highlighting rewritten by erco@seriss.com 09/15/20. +// Text Viewer widget for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2025 by Bill Spitzak and others. // @@ -40,7 +39,7 @@ Text_Viewer::Text_Viewer(int X, int Y, int W, int H, const char *L) */ Text_Viewer::~Text_Viewer() { Fl_Text_Buffer *buf = mBuffer; - buffer(0); + buffer(nullptr); delete buf; } |
