summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/textbuffer-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c
index bea2fc38..ec4d0e5a 100644
--- a/src/fe-text/textbuffer-view.c
+++ b/src/fe-text/textbuffer-view.c
@@ -151,7 +151,7 @@ static inline unichar read_unichar(const unsigned char *data, const unsigned cha
unichar chr = g_utf8_get_char_validated(data, -1);
if (chr & 0x80000000) {
- chr = *data;
+ chr = 0xfffd;
*next = data + 1;
*width = 1;
} else {