freemyipod r678 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r677‎ | r678 | r679 >
Date:20:51, 29 March 2011
Author:theseven
Status:new
Tags:
Comment:
libui: Initialize accumulator variable correctly in iconflow renderer. Fixes seemingly-random start position of the boot menu.
Modified paths:
  • /libs/ui/chooser_renderer_iconflow.c (modified) (history)

Diff [purge]

Index: libs/ui/chooser_renderer_iconflow.c
@@ -37,6 +37,7 @@
3838 struct chooser_renderer_iconflow_data* rdata;
3939 rdata = (struct chooser_renderer_iconflow_data*)(data->rendererdata);
4040 rdata->viewposition = params->startposition * data->info->actionhandler->stepsperitem(data);
 41+ rdata->accumulator = 0;
4142 rdata->lastupdate = USEC_TIMER;
4243 return 0;
4344 }