[epiphany] profile-migrator: Fix -d index to be 1-based
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] profile-migrator: Fix -d index to be 1-based
- Date: Wed, 1 Feb 2017 18:19:43 +0000 (UTC)
commit d3f0c4df956d1de1b8584d4dd556936e3f042e4e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Feb 1 12:18:18 2017 -0600
profile-migrator: Fix -d index to be 1-based
Otherwise you have to use e.g. -d 10 to get the 11th migrator....
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 29cf492..eea8768 100644
--- a/src/profile-migrator/ephy-profile-migrator.c
+++ b/src/profile-migrator/ephy-profile-migrator.c
@@ -854,7 +854,7 @@ ephy_migrator (void)
return FALSE;
LOG ("Running only migrator: %d", do_step_n);
- m = migrators[do_step_n];
+ m = migrators[do_step_n + 1];
m ();
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]