summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Display.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-13 19:21:25 +0100
committerGitHub <noreply@github.com>2021-03-13 19:21:25 +0100
commit368f18016c96a1516e9e72bc151e523ec94622a8 (patch)
treecfe8d745ff28dfb2a81c667d02f6c189780bedbe /src/Fl_Text_Display.cxx
parent569fec25e0454c4e4b98dcc383143a357ca50b55 (diff)
Fast pango (#201)
* Cache single unicode character widths under Xft+Pango
Diffstat (limited to 'src/Fl_Text_Display.cxx')
-rw-r--r--src/Fl_Text_Display.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx
index 66eaae676..a9cfcdfaf 100644
--- a/src/Fl_Text_Display.cxx
+++ b/src/Fl_Text_Display.cxx
@@ -472,7 +472,6 @@ void Fl_Text_Display::resize(int X, int Y, int W, int H) {
*/
void Fl_Text_Display::recalc_display() {
if (!buffer()) return;
-
// did we have scrollbars initially?
unsigned int hscrollbarvisible = mHScrollBar->visible();
unsigned int vscrollbarvisible = mVScrollBar->visible();