am 2c269328: Merge change Ia9d176cb into eclair
Merge commit '2c2693281842f9ccf68305f149e6a4dec76ad67c'
* commit '2c2693281842f9ccf68305f149e6a4dec76ad67c':
Don't attempt to draw if we don't have any icons to draw.
diff --git a/res/raw/rollo.c b/res/raw/rollo.c
index e60b8a2..bae786d 100644
--- a/res/raw/rollo.c
+++ b/res/raw/rollo.c
@@ -355,6 +355,9 @@
// Bug makes 1.0f alpha fail.
color(1.0f, 1.0f, 1.0f, 0.99f);
+ if (iconCount <= 0) {
+ return 1;
+ }
int lastIcon = iconCount-1;
int page = g_PosPage;