freemyipod r773 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r772‎ | r773 | r774 >
Date:15:31, 23 September 2011
Author:user890104
Status:new
Tags:
Comment:
libui: fix a bug which causes an infinite loop when giving wrong values to chooser_renderer_list
Modified paths:
  • /libs/ui/chooser_renderer_list.c (modified) (history)

Diff [purge]

Index: libs/ui/chooser_renderer_list.c
@@ -47,6 +47,10 @@
4848 available -= iparams->size.y;
4949 curr++;
5050 }
 51+ else
 52+ {
 53+ break;
 54+ }
5155 }
5256 rdata->bottom_item = --curr;
5357 while (curr < item && curr < &data->info->items[data->info->itemcount])