summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinSeong Kim <minseong.kim@linaro.org>2016-11-11 06:26:06 +0100
committerMinSeong Kim <minseong.kim@linaro.org>2016-11-11 08:00:57 +0100
commit126cf8cda8334328058985a7a59a66b9c47e66a2 (patch)
treece52c11f996a1c5b6600859e3838b3392f473f08
parentMerge "Add 'reboot bootloader' to bootloader_message." (diff)
downloadandroid_bootable_recovery-126cf8cda8334328058985a7a59a66b9c47e66a2.tar
android_bootable_recovery-126cf8cda8334328058985a7a59a66b9c47e66a2.tar.gz
android_bootable_recovery-126cf8cda8334328058985a7a59a66b9c47e66a2.tar.bz2
android_bootable_recovery-126cf8cda8334328058985a7a59a66b9c47e66a2.tar.lz
android_bootable_recovery-126cf8cda8334328058985a7a59a66b9c47e66a2.tar.xz
android_bootable_recovery-126cf8cda8334328058985a7a59a66b9c47e66a2.tar.zst
android_bootable_recovery-126cf8cda8334328058985a7a59a66b9c47e66a2.zip
-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;