[epiphany/gnome-3-22] profile-migrator: Fix off-by-one in print statement



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

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

 lib/ephy-profile-migrator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c
index 97ea554..137e756 100644
--- a/lib/ephy-profile-migrator.c
+++ b/lib/ephy-profile-migrator.c
@@ -756,7 +756,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]