summaryrefslogtreecommitdiff
path: root/apps/plugins/sokoban.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r--apps/plugins/sokoban.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index 2387fa9517..47ae64c18f 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -241,7 +241,7 @@ static int get_level_count(void)
241 char buffer[COLS + 3]; /* COLS plus CR/LF and \0 */ 241 char buffer[COLS + 3]; /* COLS plus CR/LF and \0 */
242 242
243 if ((fd = rb->open(LEVELS_FILE, O_RDONLY)) < 0) { 243 if ((fd = rb->open(LEVELS_FILE, O_RDONLY)) < 0) {
244 rb->splash(0, 0, true, "Unable to open %s", LEVELS_FILE); 244 rb->splash(0, true, "Unable to open %s", LEVELS_FILE);
245 return -1; 245 return -1;
246 } 246 }
247 247
@@ -858,7 +858,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
858 init_boards(); 858 init_boards();
859 859
860 if (get_level_count() != 0) { 860 if (get_level_count() != 0) {
861 rb->splash(HZ*2,0,true,"Failed loading levels!"); 861 rb->splash(HZ*2, true, "Failed loading levels!");
862 return PLUGIN_OK; 862 return PLUGIN_OK;
863 } 863 }
864 864