summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Terminal.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Terminal.H b/FL/Fl_Terminal.H
index 09673f557..1a63fdaa7 100644
--- a/FL/Fl_Terminal.H
+++ b/FL/Fl_Terminal.H
@@ -553,7 +553,7 @@ protected:
double pwidth(void) const;
int pwidth_int(void) const;
// Clear the character to a 'space'
- void clear(const CharStyle& style) { text_ascii(' ', style); }
+ void clear(const CharStyle& style) { text_utf8(" ", 1, style); charflags_ = 0; attrib_ = 0; }
bool is_char(char c) const { return *text_ == c; }
void show_char(void) const { ::printf("%.*s", len_, text_); }
void show_char_info(void) const { ::fprintf(stderr, "UTF-8('%.*s', len=%d)\n", len_, text_, len_); }