[epiphany] profile-migrator: Fix off-by-one in print statement



commit 293da37966b590cbabe88b8f4e9a6c9308a50f0f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Oct 4 17:34:43 2016 -0500

    profile-migrator: Fix off-by-one in print statement

 src/profile-migrator/ephy-profile-migrator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/profile-migrator/ephy-profile-migrator.c b/src/profile-migrator/ephy-profile-migrator.c
index f2e39b0..93551ad 100644
--- a/src/profile-migrator/ephy-profile-migrator.c
+++ b/src/profile-migrator/ephy-profile-migrator.c
@@ -922,7 +922,7 @@ ephy_migrator (void)
        EPHY_PROFILE_MIGRATION_VERSION, latest);
 
   for (i = latest; i < EPHY_PROFILE_MIGRATION_VERSION; i++) {
-    LOG ("Running migrator: %d of %d", i, EPHY_PROFILE_MIGRATION_VERSION);
+    LOG ("Running migrator: %d of %d", i + 1, EPHY_PROFILE_MIGRATION_VERSION);
 
     /* No need to run the password migration twice in a row. It
        appears twice in the list for the benefit of people that were


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