diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-07 17:26:56 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-07 17:26:56 +0200 |
commit | 930ce8a944570f14dc52e5fe90a1ee3bb5d2d3e7 (patch) | |
tree | 67e2d4ee9cbfd1c124ffdc226190115108a2aaea | |
parent | 3c5eae978da0dd511b93667cc3be9e7700d0c849 (diff) | |
download | tdv-930ce8a944570f14dc52e5fe90a1ee3bb5d2d3e7.tar.gz tdv-930ce8a944570f14dc52e5fe90a1ee3bb5d2d3e7.tar.xz tdv-930ce8a944570f14dc52e5fe90a1ee3bb5d2d3e7.zip |
Fix regression in locale support
-rw-r--r-- | src/sdtui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdtui.c b/src/sdtui.c index 4487df3..fcf361f 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -756,7 +756,7 @@ row_buffer_append (RowBuffer *self, const gchar *str, chtype attrs) // XXX: this is very crude as it disrespects combining marks gunichar c = app_is_character_in_locale (self->app, ucs4[i]) ? ucs4[i] : '?'; - struct row_char rc = { ucs4[i], attrs, unichar_width (c) }; + struct row_char rc = { c, attrs, unichar_width (c) }; g_array_append_val (self->chars, rc); self->total_width += rc.width; } |