commit | 2c2693281842f9ccf68305f149e6a4dec76ad67c | [log] [tgz] |
---|---|---|
author | Android (Google) Code Review <android-gerrit@google.com> | Tue Oct 06 20:19:08 2009 -0400 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Oct 06 20:19:08 2009 -0400 |
tree | 3193352d30dc42fbd0c8c3d61335076e4a41073f | |
parent | b4616fded48cb05ef0af35d31168df99a67301a0 [diff] | |
parent | a9d176cbd14d2a299e3a67cd9e9e1c17453c2226 [diff] |
Merge change Ia9d176cb into eclair * changes: 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;