summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-14 19:35:54 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-14 19:35:54 +0100
commit0f819849701c0154f7207b6a8a31e06ebbbc2ff6 (patch)
tree525231a6f4fa41de60bf7232a0c7ff8f72cca6bd
parentMerge "Allow uncrypt to work without socket communication" am: 4c1f3eda98 (diff)
parentMerge "Fix "ordered comparison between pointer and zero"." (diff)
downloadandroid_bootable_recovery-0f819849701c0154f7207b6a8a31e06ebbbc2ff6.tar
android_bootable_recovery-0f819849701c0154f7207b6a8a31e06ebbbc2ff6.tar.gz
android_bootable_recovery-0f819849701c0154f7207b6a8a31e06ebbbc2ff6.tar.bz2
android_bootable_recovery-0f819849701c0154f7207b6a8a31e06ebbbc2ff6.tar.lz
android_bootable_recovery-0f819849701c0154f7207b6a8a31e06ebbbc2ff6.tar.xz
android_bootable_recovery-0f819849701c0154f7207b6a8a31e06ebbbc2ff6.tar.zst
android_bootable_recovery-0f819849701c0154f7207b6a8a31e06ebbbc2ff6.zip
Diffstat (limited to '')
-rw-r--r--minui/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/resources.cpp b/minui/resources.cpp
index 730b05f13..455ef2784 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;