diff --git a/src/unit_frame.cpp b/src/unit_frame.cpp index db2a83a43c5..345616833dc 100644 --- a/src/unit_frame.cpp +++ b/src/unit_frame.cpp @@ -32,7 +32,7 @@ progressive_string::progressive_string(const std::string & data,int duration) : const int time_chunk = std::max(duration / (first_pass.size()?first_pass.size():1),1); std::vector::const_iterator tmp; - for(tmp=first_pass.begin();tmp != first_pass.end() ; tmp++) { + for(tmp=first_pass.begin();tmp != first_pass.end() ; ++tmp) { std::vector second_pass = utils::split(*tmp,':'); if(second_pass.size() > 1) { data_.push_back(std::pair(second_pass[0],atoi(second_pass[1].c_str())));