summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-10-28 09:49:50 +0000
committerManolo Gouy <Manolo>2014-10-28 09:49:50 +0000
commitf300b70a99b7933780f0fca65f18e30685abd4ae (patch)
tree5afe6607d5a4b1f14944669a1e49c9130605a609 /src
parent3f912b42f81bd25eb1c988b7732a8f7b34ad7c6a (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Text_Display.cxx2
1 files changed, 2 insertions, 0 deletions
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
}