From 817a97bb65883b0ffdbcf9a8eb5b4431cd8a4331 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 23 Nov 2022 15:17:54 +0100 Subject: Fluid: Fix variable naming and a memory leak --- fluid/CodeEditor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fluid/CodeEditor.h') 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(); } }; -- cgit v1.2.3