summaryrefslogtreecommitdiffstats
path: root/minui/resources.cpp
diff options
context:
space:
mode:
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 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;