summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorMinSeong Kim <minseong.kim@linaro.org>2016-11-11 06:26:06 +0100
committerDees Troy <dees_troy@teamw.in>2017-02-23 15:27:05 +0100
commit663ad8e9d0c1497081343a91af66f9e41649b5dd (patch)
tree37fe6be7109d738125e0a413d698af4e610b5c2d /minui
parentUpdate Russian localization (diff)
downloadandroid_bootable_recovery-663ad8e9d0c1497081343a91af66f9e41649b5dd.tar
android_bootable_recovery-663ad8e9d0c1497081343a91af66f9e41649b5dd.tar.gz
android_bootable_recovery-663ad8e9d0c1497081343a91af66f9e41649b5dd.tar.bz2
android_bootable_recovery-663ad8e9d0c1497081343a91af66f9e41649b5dd.tar.lz
android_bootable_recovery-663ad8e9d0c1497081343a91af66f9e41649b5dd.tar.xz
android_bootable_recovery-663ad8e9d0c1497081343a91af66f9e41649b5dd.tar.zst
android_bootable_recovery-663ad8e9d0c1497081343a91af66f9e41649b5dd.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 34c9c82ba..e25512f51 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -268,7 +268,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;