summaryrefslogtreecommitdiff
path: root/apps/plugins/superdom.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/superdom.c')
-rw-r--r--apps/plugins/superdom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c
index 3fac0d0434..69dc607090 100644
--- a/apps/plugins/superdom.c
+++ b/apps/plugins/superdom.c
@@ -1935,7 +1935,7 @@ static int load_game(const char* file) {
1935 int fd; 1935 int fd;
1936 1936
1937 fd = rb->open(file, O_RDONLY); 1937 fd = rb->open(file, O_RDONLY);
1938 if(fd == 0) { 1938 if(fd < 0) {
1939 DEBUGF("Couldn't open savegame\n"); 1939 DEBUGF("Couldn't open savegame\n");
1940 return -1; 1940 return -1;
1941 } 1941 }