diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-09 19:01:15 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-09 19:01:15 +0300 |
commit | f63ed76597b462c60b3a6ad89f8c165ffb87d00c (patch) | |
tree | 2aca3537930bce28acff14c0cee0a11fa1988661 /src/ui/inputwidget.c | |
parent | 5f9685010addd4a0f04c13f889856084381dd1c6 (diff) | |
parent | ee17ef3d0135027fbc4ff816dd9e793b4bb0b883 (diff) |
Merge branch 'dev' into work/typesetter
# Conflicts:
# src/gmdocument.c
# src/ui/documentwidget.c
# src/ui/inputwidget.h
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 0257eda0..cf128017 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -547,7 +547,9 @@ void setText_InputWidget(iInputWidget *d, const iString *text) { | |||
547 | } | 547 | } |
548 | clearUndo_InputWidget_(d); | 548 | clearUndo_InputWidget_(d); |
549 | clear_Array(&d->text); | 549 | clear_Array(&d->text); |
550 | iConstForEach(String, i, text) { | 550 | iString *nfcText = collect_String(copy_String(text)); |
551 | normalize_String(nfcText); | ||
552 | iConstForEach(String, i, nfcText) { | ||
551 | pushBack_Array(&d->text, &i.value); | 553 | pushBack_Array(&d->text, &i.value); |
552 | } | 554 | } |
553 | if (isFocused_Widget(d)) { | 555 | if (isFocused_Widget(d)) { |