diff --git a/src/theme.cpp b/src/theme.cpp index 96112e7c38b..7ad8b90d5fb 100644 --- a/src/theme.cpp +++ b/src/theme.cpp @@ -204,12 +204,12 @@ namespace { } // add all the resolutions const config::child_list& res_list = top_cfg.get_children("resolution"); - for(config::child_list::const_iterator i = res_list.begin(); i != res_list.end(); ++i) { - dst_cfg.add_child("resolution", (**i)); + for(config::child_list::const_iterator j = res_list.begin(); j != res_list.end(); ++j) { + dst_cfg.add_child("resolution", (**j)); } // add all the resolved resolutions - for(std::vector::const_iterator i = res_cfgs_.begin(); i != res_cfgs_.end(); ++i) { - dst_cfg.add_child("resolution", (*i)); + for(std::vector::const_iterator k = res_cfgs_.begin(); k != res_cfgs_.end(); ++k) { + dst_cfg.add_child("resolution", (*k)); } return; }