summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-14 19:49:55 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-14 19:49:55 +0100
commitb99b9099e8f794170814cd5c03ffd67a8b56466a (patch)
tree71866e8a15872238f16ddd7358618942793e59dc /minui
parentMerge "Allow uncrypt to work without socket communication" am: 4c1f3eda98 am: f2574b8206 am: 91f736fe1a (diff)
parentMerge "Fix "ordered comparison between pointer and zero"." am: a844bc9649 am: 08c4130493 (diff)
downloadandroid_bootable_recovery-b99b9099e8f794170814cd5c03ffd67a8b56466a.tar
android_bootable_recovery-b99b9099e8f794170814cd5c03ffd67a8b56466a.tar.gz
android_bootable_recovery-b99b9099e8f794170814cd5c03ffd67a8b56466a.tar.bz2
android_bootable_recovery-b99b9099e8f794170814cd5c03ffd67a8b56466a.tar.lz
android_bootable_recovery-b99b9099e8f794170814cd5c03ffd67a8b56466a.tar.xz
android_bootable_recovery-b99b9099e8f794170814cd5c03ffd67a8b56466a.tar.zst
android_bootable_recovery-b99b9099e8f794170814cd5c03ffd67a8b56466a.zip
Diffstat (limited to 'minui')
-rw-r--r--minui/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/resources.cpp b/minui/resources.cpp
index c723476cc..34e7b8be3 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -269,7 +269,7 @@ int res_create_multi_display_surface(const char* name, int* frames, int* fps,
printf(" found fps = %d\n", *fps);
}
- if (frames <= 0 || fps <= 0) {
+ if (*frames <= 0 || *fps <= 0) {
printf("bad number of frames (%d) and/or FPS (%d)\n", *frames, *fps);
result = -10;
goto exit;