diff options
author | Tao Bao <tbao@google.com> | 2016-11-14 19:18:38 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-11-14 19:18:39 +0100 |
commit | a844bc9649d039f5f689b7e264993d35442833a3 (patch) | |
tree | b0a9e3740470d384b4958d01fac673e11f21e6d6 | |
parent | Merge "Allow uncrypt to work without socket communication" (diff) | |
parent | Fix "ordered comparison between pointer and zero". (diff) | |
download | android_bootable_recovery-a844bc9649d039f5f689b7e264993d35442833a3.tar android_bootable_recovery-a844bc9649d039f5f689b7e264993d35442833a3.tar.gz android_bootable_recovery-a844bc9649d039f5f689b7e264993d35442833a3.tar.bz2 android_bootable_recovery-a844bc9649d039f5f689b7e264993d35442833a3.tar.lz android_bootable_recovery-a844bc9649d039f5f689b7e264993d35442833a3.tar.xz android_bootable_recovery-a844bc9649d039f5f689b7e264993d35442833a3.tar.zst android_bootable_recovery-a844bc9649d039f5f689b7e264993d35442833a3.zip |
Diffstat (limited to '')
-rw-r--r-- | minui/resources.cpp | 2 |
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; |