aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rfsv32.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rfsv32.cc')
-rw-r--r--lib/rfsv32.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rfsv32.cc b/lib/rfsv32.cc
index 0b6f120..0e6fd47 100644
--- a/lib/rfsv32.cc
+++ b/lib/rfsv32.cc
@@ -715,7 +715,7 @@ mkdir(const char *name)
{
bufferStore a;
string n = convertSlash(name);
- if (n.find_last_of('\\') == (n.size() - 1))
+ if (n.find_last_of('\\') != (n.size() - 1))
n += '\\';
a.addWord(n.size());
a.addString(n.c_str());
@@ -729,7 +729,7 @@ rmdir(const char *name)
{
bufferStore a;
string n = convertSlash(name);
- if (n.find_last_of('\\') == (n.size() - 1))
+ if (n.find_last_of('\\') != (n.size() - 1))
n += '\\';
a.addWord(n.size());
a.addString(n.c_str());