From f300b70a99b7933780f0fca65f18e30685abd4ae Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 28 Oct 2014 09:49:50 +0000 Subject: [PATCH] Added missing #if FLTK_ABI_VERSION >= 10303, that prevented ABI-preserving compilation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Text_Display.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 18bb0ed2e..7bd221095 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -181,10 +181,12 @@ Fl_Text_Display::~Fl_Text_Display() { mBuffer->remove_predelete_callback(buffer_predelete_cb, this); } if (mLineStarts) delete[] mLineStarts; +#if FLTK_ABI_VERSION >= 10303 if (linenumber_format_) { free((void*)linenumber_format_); linenumber_format_ = 0; } +#endif }