summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-10-04 14:42:54 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-11-10 06:37:41 -0500
commit37da608f8408304723499d01a056bb517d907219 (patch)
treeb8da2d83191d069d281bf2dd230b86e733c17812
parentc2220a3b50325702e53d7d4bbdb485068e1148f9 (diff)
downloadrockbox-37da608f84.tar.gz
rockbox-37da608f84.zip
skin engine: Remove weird special casing for Onda VX747
I have no idea what bug this could possibly "fix", and nothing looks different on the sim after removing it. As far as I can tell the Onda has no unique features that could cause the skin engine to act flaky, so I'm willing to bet this workaround isn't needed. Change-Id: I2c183786948f3fe9778e04134d04bdfe3c6db543
-rw-r--r--apps/gui/skin_engine/skin_render.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c
index 20e062e136..c5ee4ec3fb 100644
--- a/apps/gui/skin_engine/skin_render.c
+++ b/apps/gui/skin_engine/skin_render.c
@@ -593,10 +593,6 @@ static bool skin_render_line(struct skin_element* line, struct skin_draw_info *i
sizeof(tempbuf), NULL);
if (valuestr)
{
-#if defined(ONDA_VX747) || defined(ONDA_VX747P)
- /* Doesn't redraw (in sim at least) */
- needs_update = true;
-#endif
#if CONFIG_RTC
if (child->tag->flags&SKIN_RTC_REFRESH)
needs_update = needs_update || info->refresh_type&SKIN_REFRESH_DYNAMIC;
@@ -609,10 +605,6 @@ static bool skin_render_line(struct skin_element* line, struct skin_draw_info *i
}
break;
case TEXT:
-#if defined(ONDA_VX747) || defined(ONDA_VX747P)
- /* Doesn't redraw (in sim at least) */
- needs_update = true;
-#endif
strlcat(info->cur_align_start, SKINOFFSETTOPTR(skin_buffer, child->data),
info->buf_size - (info->cur_align_start-info->buf));
needs_update = needs_update ||