mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 19:23:47 +01:00
Buildfix.
This commit is contained in:
1 parent
8e513ec38a
commit
f02e88b87e
3 files changed
+7
-7
No files matched your search
+3
-3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user