summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/pictureflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c
index bbd7694..807ba19 100644
--- a/apps/plugins/pictureflow.c
+++ b/apps/plugins/pictureflow.c
@@ -1928,9 +1928,9 @@ int main(void)
if (!create_empty_slide(cache_version != CACHE_VERSION)) {
rb->splash(HZ, "Could not load the empty slide");
return PLUGIN_ERROR;
- cache_version = CACHE_VERSION;
- configfile_save(CONFIG_FILE, config, CONFIG_NUM_ITEMS, CONFIG_VERSION);
}
+ cache_version = CACHE_VERSION;
+ configfile_save(CONFIG_FILE, config, CONFIG_NUM_ITEMS, CONFIG_VERSION);
if (!create_pf_thread()) {
rb->splash(HZ, "Cannot create thread!");