diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-11-04 02:34:33 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-11-04 02:34:33 +0000 |
| commit | fa517add2ed4f5d08e5023c998ff7965e18f61e4 (patch) | |
| tree | 107f66ecce4f0a6cd574fcd98c9a0999f78d4f47 | |
| parent | 309e21c9fd3d0a46963c538ba50b21b1dacbf64a (diff) | |
Clear style buffer in destructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | fluid/CodeEditor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/CodeEditor.cxx b/fluid/CodeEditor.cxx index a6590ce62..38c23c3aa 100644 --- a/fluid/CodeEditor.cxx +++ b/fluid/CodeEditor.cxx @@ -394,7 +394,7 @@ CodeEditor::CodeEditor(int X, int Y, int W, int H, const char *L) : // Destroy a CodeEditor widget... CodeEditor::~CodeEditor() { Fl_Text_Buffer *buf = mStyleBuffer; -// style_buffer(0); + mStyleBuffer = 0; delete buf; buf = mBuffer; |
