diff options
Diffstat (limited to 'fluid/widgets/Code_Editor.cxx')
| -rw-r--r-- | fluid/widgets/Code_Editor.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fluid/widgets/Code_Editor.cxx b/fluid/widgets/Code_Editor.cxx index a145b5055..b4379c845 100644 --- a/fluid/widgets/Code_Editor.cxx +++ b/fluid/widgets/Code_Editor.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. // // Copyright 1998-2025 by Bill Spitzak and others. // @@ -15,6 +14,8 @@ // https://www.fltk.org/bugs.php // +// Syntax highlighting rewritten by erco@seriss.com 09/15/20. + // // Include necessary headers... // @@ -230,11 +231,11 @@ Code_Editor::Code_Editor(int X, int Y, int W, int H, const char *L) : */ Code_Editor::~Code_Editor() { Fl_Text_Buffer *buf = mStyleBuffer; - mStyleBuffer = 0; + mStyleBuffer = nullptr; delete buf; buf = mBuffer; - buffer(0); + buffer(nullptr); delete buf; } |
