summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-04-12 12:15:35 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-04-12 12:15:35 +0000
commit5209ed44a0b6f86e1d1f2a92d42d7658b2dc316e (patch)
tree82421633cfe40e2bc76956d44560a1a516b94c61 /apps/plugins
parentbc28939e04fab65518204d7cc5fff2c2016f96c2 (diff)
fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25606 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-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,
{
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;