[epiphany/mcatanzaro/webapp-profile: 19/21] profile-migrator: code style improvement



commit 9b6bc7df1804f299938d18ace8e317b656b39e41
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Mar 17 11:10:15 2019 -0500

    profile-migrator: code style improvement

 src/profile-migrator/ephy-profile-migrator.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/profile-migrator/ephy-profile-migrator.c b/src/profile-migrator/ephy-profile-migrator.c
index 95246ee1d..b4719c94d 100644
--- a/src/profile-migrator/ephy-profile-migrator.c
+++ b/src/profile-migrator/ephy-profile-migrator.c
@@ -1148,9 +1148,8 @@ migrate_profile_directories (void)
     g_autofree char *app_path = ephy_web_application_get_profile_directory (app->id);
     g_autoptr(GFile) new_directory = g_file_new_for_path (app_path);
 
-    if (!move_directory_contents (old_directory, new_directory)) {
+    if (!move_directory_contents (old_directory, new_directory))
       continue;
-    }
 
     // Create an empty file to indicate it's an app
     g_autofree char *app_file = g_build_filename (app_path, ".app", NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]