From d7e9657a4a70e7bffadcb962fc0411c337052365 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Wed, 7 Feb 2001 00:10:42 +0000 Subject: - Fixed bug in rfsv32, introduced by recent change to C++ strings: mkdir and rmdir did not work. - Mor KDE2 related stuff. --- lib/rfsv32.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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()); -- cgit v1.2.3