Skip to content

Commit

Permalink
STR #3395: Revisions as per chris's comment #4.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
erco77 committed Oct 27, 2017
1 parent a27da5e commit 2a3e869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FL/Fl_Text_Display.H
Expand Up @@ -293,7 +293,7 @@ public:
Sets the default font used when drawing text in the widget.
\param s default text font face
*/
void textfont(Fl_Font s) {textfont_ = s; mColumnScale = 0; recalc_display(); }
void textfont(Fl_Font s) {textfont_ = s; mColumnScale = 0; }

/**
Gets the default size of text in the widget.
Expand All @@ -305,7 +305,7 @@ public:
Sets the default size of text in the widget.
\param s new text size
*/
void textsize(Fl_Fontsize s) {textsize_ = s; mColumnScale = 0; recalc_display(); }
void textsize(Fl_Fontsize s) {textsize_ = s; mColumnScale = 0; }

/**
Gets the default color of text in the widget.
Expand Down
1 change: 1 addition & 0 deletions src/Fl_Text_Display.cxx
Expand Up @@ -3663,6 +3663,7 @@ void Fl_Text_Display::draw(void) {

// draw the non-text, non-scrollbar areas.
if (damage() & FL_DAMAGE_ALL) {
recalc_display();
// printf("drawing all (box = %d)\n", box());
if (Fl_Surface_Device::surface() != Fl_Display_Device::display_device()) {
// if to printer, draw the background
Expand Down

0 comments on commit 2a3e869

Please sign in to comment.