From 353795b25e7de95fc935063697cdb5afbda15be4 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Wed, 24 Feb 2016 23:28:57 +0100 Subject: [PATCH] Wipe debug code. --- menu/menu_animation.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/menu/menu_animation.c b/menu/menu_animation.c index fc6a3e0794..6e918f9b2c 100644 --- a/menu/menu_animation.c +++ b/menu/menu_animation.c @@ -608,11 +608,7 @@ size_t utf8cpy(char *d, size_t d_len, const char *s, size_t chars) if (sb - sb_org > d_len-1 /* NUL */) { sb = sb_org + d_len-1; - //if ((*sb&0xC0) == 0x80) - { - while ((*sb&0xC0) == 0x80) sb--; - //sb--; - } + while ((*sb&0xC0) == 0x80) sb--; } memcpy(d, sb_org, sb-sb_org);