diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-11-23 15:17:54 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2022-11-23 15:18:01 +0100 |
| commit | 817a97bb65883b0ffdbcf9a8eb5b4431cd8a4331 (patch) | |
| tree | ad3b10bb7a0e202a53e25c3b213cc1c305b6792b /fluid/CodeEditor.h | |
| parent | 410e57d2db426cb4ab3c8f4b9472ee33e17a5f99 (diff) | |
Fluid: Fix variable naming and a memory leak
Diffstat (limited to 'fluid/CodeEditor.h')
| -rw-r--r-- | fluid/CodeEditor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fluid/CodeEditor.h b/fluid/CodeEditor.h index 767c960ee..e55bff8f6 100644 --- a/fluid/CodeEditor.h +++ b/fluid/CodeEditor.h @@ -68,9 +68,10 @@ protected: // ---- DesignViewer declaration -class DesignViewer : public Fl_Text_Display { +class TextViewer : public Fl_Text_Display { public: - DesignViewer(int X, int Y, int W, int H, const char *L=0); + TextViewer(int X, int Y, int W, int H, const char *L=0); + ~TextViewer(); int top_line() { return get_absolute_top_line_number(); } }; |
