diff options
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 543b5c0d1d..c12c1d41d2 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -1043,12 +1043,12 @@ static void viewer_load_settings(void) /* same name as global, but not the same | |||
1043 | settings_fd=rb->open(SETTINGS_FILE, O_RDONLY); | 1043 | settings_fd=rb->open(SETTINGS_FILE, O_RDONLY); |
1044 | if (settings_fd < 0) | 1044 | if (settings_fd < 0) |
1045 | { | 1045 | { |
1046 | rb->splash(HZ*2, true, "No Settings File"); | 1046 | rb->splash(HZ*2, "No Settings File"); |
1047 | return; | 1047 | return; |
1048 | } | 1048 | } |
1049 | if (rb->filesize(settings_fd) != sizeof(struct preferences)) | 1049 | if (rb->filesize(settings_fd) != sizeof(struct preferences)) |
1050 | { | 1050 | { |
1051 | rb->splash(HZ*2, true, "Settings File Invalid"); | 1051 | rb->splash(HZ*2, "Settings File Invalid"); |
1052 | return; | 1052 | return; |
1053 | } | 1053 | } |
1054 | 1054 | ||
@@ -1313,7 +1313,7 @@ static void viewer_menu(void) | |||
1313 | switch (result) | 1313 | switch (result) |
1314 | { | 1314 | { |
1315 | case 0: /* quit */ | 1315 | case 0: /* quit */ |
1316 | rb->splash(1, true, "Saving Settings"); | 1316 | rb->splash(1, "Saving Settings"); |
1317 | rb->menu_exit(m); | 1317 | rb->menu_exit(m); |
1318 | viewer_exit(NULL); | 1318 | viewer_exit(NULL); |
1319 | done = true; | 1319 | done = true; |
@@ -1350,7 +1350,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
1350 | file_name = file; | 1350 | file_name = file; |
1351 | ok = viewer_init(); | 1351 | ok = viewer_init(); |
1352 | if (!ok) { | 1352 | if (!ok) { |
1353 | rb->splash(HZ, false, "Error"); | 1353 | rb->splash(HZ, "Error"); |
1354 | viewer_exit(NULL); | 1354 | viewer_exit(NULL); |
1355 | return PLUGIN_OK; | 1355 | return PLUGIN_OK; |
1356 | } | 1356 | } |