diff options
Diffstat (limited to 'widgets/text')
-rw-r--r-- | widgets/text/e-text.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 349b2d40b8..c4b5bb5cf6 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1025,6 +1025,12 @@ line_splitter (ETextModel *model, EFont *font, EFontStyle style, ++line_count; } + + if (line_count == 0) { + if (split_cb) + split_cb (0, text, strlen (text), user_data); + line_count ++; + } return line_count; } |