diff options
author | 2019-03-25 22:44:58 +0100 | |
---|---|---|
committer | 2019-03-25 22:44:58 +0100 | |
commit | c24473ddff715ecec2e258a6eb38960cf8c8e98e (patch) | |
tree | 8ea44b6396a6129913c0aac13859b5de9965e972 /src/emu/fileio.cpp | |
parent | 009cba4fb8102102168ef32870892438327f3705 (diff) | |
parent | 598cd5227223c3b04ca31f0dbc1981256d9ea3ff (diff) |
conflict resolution (nw)
Diffstat (limited to 'src/emu/fileio.cpp')
-rw-r--r-- | src/emu/fileio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/fileio.cpp b/src/emu/fileio.cpp index 3ec686266c8..bbd1d931f30 100644 --- a/src/emu/fileio.cpp +++ b/src/emu/fileio.cpp @@ -96,7 +96,7 @@ bool path_iterator::next(std::string &buffer, const char *name) if (name) { // compute the full pathname - if (!buffer.empty() && (*buffer.rbegin() != *PATH_SEPARATOR)) + if (!buffer.empty() && !util::is_directory_separator(buffer.back())) buffer.append(PATH_SEPARATOR); buffer.append(name); } |