From 48f4bfc2f438906897c19d1dbbbea36a1460ab9f Mon Sep 17 00:00:00 2001 From: uchida Date: Mon, 12 Apr 2010 12:15:35 +0000 Subject: [PATCH] fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25606 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 83dab4137..a6f1bf1b5 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; -- 2.11.4.GIT