summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/viewer.c2
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,
690{ 690{
691 unsigned short ucs[max_columns * DIACRITIC_FACTOR + 1]; 691 unsigned short ucs[max_columns * DIACRITIC_FACTOR + 1];
692 unsigned short ch; 692 unsigned short ch;
693 const unsigned char *oldstr; 693 const unsigned char *oldstr = src;
694 const unsigned char *str = src; 694 const unsigned char *str = src;
695 unsigned char *utf8 = dst; 695 unsigned char *utf8 = dst;
696 int chars = 0; 696 int chars = 0;