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
This commit is contained in:
Manolo Gouy 2014-10-28 09:49:50 +00:00
parent 3f912b42f8
commit f300b70a99

View File

@ -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
}