Buildfix.

This commit is contained in:
Sacha committed 2013-11-24 03:11:33 +10:00
1 parent 8e513ec38a
commit f02e88b87e
3 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -553,11 +553,11 @@ void Config::Save() {
}
void Config::AddRecent(const std::string &file) {
for (auto str = recentIsos.begin(); str != recentIsos.end(); str++) {
for (auto str = recentIsos.begin(); str != recentIsos.end(); ++str) {
#ifdef _WIN32
if (!strcmpIgnore(*str, file, "\\", "/")) {
if (!strcmpIgnore((*str).c_str(), file.c_str(), "\\", "/")) {
#else
if (!strcmp(*str, file)) {
if (!strcmp((*str).c_str(), file.c_str())) {
#endif
recentIsos.erase(str);
recentIsos.insert(recentIsos.begin(), file);