diff options
author | Jean Guyomarc'h <jean.guyomarch@gmail.com> | 2015-03-17 20:20:52 +0100 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2015-03-17 20:21:07 +0100 |
commit | 73c9e827772cc68a9d510d7d89d55308da518e1d (patch) | |
tree | 5f28c2bdaff0ba80e4e79ba803993f1a4cd1db27 /src | |
parent | ed178f5a1395bf5327972adea4e00910f87d453b (diff) |
config: typo in config upgrade names
Summary: If CONF_VER was 4, config should be upgraded to 5.
Reviewers: billiob
Differential Revision: https://phab.enlightenment.org/D2179
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/config.c b/src/bin/config.c index b98dce5..aabdfee 100644 --- a/src/bin/config.c +++ b/src/bin/config.c | |||
@@ -292,13 +292,13 @@ _config_upgrade_to_v2(Config *config) | |||
292 | config->keys = eina_list_append(config->keys, kb) | 292 | config->keys = eina_list_append(config->keys, kb) |
293 | 293 | ||
294 | static void | 294 | static void |
295 | _config_upgrade_to_v4(Config *config) | 295 | _config_upgrade_to_v5(Config *config) |
296 | { | 296 | { |
297 | Config_Keys *kb; | 297 | Config_Keys *kb; |
298 | 298 | ||
299 | ADD_KB("F11", 0, 0, 0, 0, "win_fullscreen"); | 299 | ADD_KB("F11", 0, 0, 0, 0, "win_fullscreen"); |
300 | 300 | ||
301 | config->version = 4; | 301 | config->version = 5; |
302 | } | 302 | } |
303 | 303 | ||
304 | static void | 304 | static void |
@@ -474,7 +474,7 @@ config_load(const char *key) | |||
474 | config->gravatar = EINA_TRUE; | 474 | config->gravatar = EINA_TRUE; |
475 | /*pass through*/ | 475 | /*pass through*/ |
476 | case 4: | 476 | case 4: |
477 | _config_upgrade_to_v4(config); | 477 | _config_upgrade_to_v5(config); |
478 | /*pass through*/ | 478 | /*pass through*/ |
479 | case CONF_VER: /* 5 */ | 479 | case CONF_VER: /* 5 */ |
480 | config->version = CONF_VER; | 480 | config->version = CONF_VER; |