diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/viewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 83dab4137d..a6f1bf1b5d 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -690,7 +690,7 @@ static unsigned char *decode2utf8(const unsigned char *src, unsigned char *dst, { unsigned short ucs[max_columns * DIACRITIC_FACTOR + 1]; unsigned short ch; - const unsigned char *oldstr; + const unsigned char *oldstr = src; const unsigned char *str = src; unsigned char *utf8 = dst; int chars = 0; |