diff options
author | Fritz Elfert <felfert@to.com> | 2001-02-07 00:10:42 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-02-07 00:10:42 +0000 |
commit | d7e9657a4a70e7bffadcb962fc0411c337052365 (patch) | |
tree | 93f20afe1d8c3f2c75d56537338667d3f20762ab /lib | |
parent | 962c0ae9f2b71dc6314c2ef22d294a8255bcd1e4 (diff) | |
download | plptools-d7e9657a4a70e7bffadcb962fc0411c337052365.tar.gz plptools-d7e9657a4a70e7bffadcb962fc0411c337052365.tar.bz2 plptools-d7e9657a4a70e7bffadcb962fc0411c337052365.zip |
- Fixed bug in rfsv32, introduced by recent change to C++ strings:
mkdir and rmdir did not work.
- Mor KDE2 related stuff.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rfsv32.cc | 4 |
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()); |