diff options
Diffstat (limited to 'util/fluxbox-update_configs.cc')
-rw-r--r-- | util/fluxbox-update_configs.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc index 37248ce..fe1261c 100644 --- a/util/fluxbox-update_configs.cc +++ b/util/fluxbox-update_configs.cc | |||
@@ -563,8 +563,7 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) { | |||
563 | string appsfilename = FbTk::StringUtil::expandFilename(*rc_appsfile); | 563 | string appsfilename = FbTk::StringUtil::expandFilename(*rc_appsfile); |
564 | string keyfilename = FbTk::StringUtil::expandFilename(*rc_keyfile); | 564 | string keyfilename = FbTk::StringUtil::expandFilename(*rc_keyfile); |
565 | 565 | ||
566 | int i; | 566 | for (size_t i = 0; i < sizeof(UPDATES) / sizeof(Update); ++i) { |
567 | for (i = 0; i < sizeof(UPDATES) / sizeof(Update); ++i) { | ||
568 | if (old_version < UPDATES[i].version) { | 567 | if (old_version < UPDATES[i].version) { |
569 | UPDATES[i].update(rm, keyfilename, appsfilename); | 568 | UPDATES[i].update(rm, keyfilename, appsfilename); |
570 | new_version = UPDATES[i].version; | 569 | new_version = UPDATES[i].version; |