summaryrefslogtreecommitdiffstats
path: root/kioslave/file
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-07 23:49:47 -0500
committerSlávek Banko <slavek.banko@axis.cz>2013-05-08 06:58:38 +0200
commit998d8f4e7abe87ebc8df91698265da0b343e8394 (patch)
tree627617546dd084a3bf5b40681f0d4fdc479cd9dc /kioslave/file
parent02454576e0020f3a04c353da8d0565980ff53916 (diff)
downloadtdelibs-998d8f4e7abe87ebc8df91698265da0b343e8394.tar.gz
tdelibs-998d8f4e7abe87ebc8df91698265da0b343e8394.zip
Use standard unicode forward slash representation if available instead of nonstandard HTML encoding
This resolves Bug 269 (cherry picked from commit b4a23465b612356d94db0f66fc728b90dc3d0dca)
Diffstat (limited to 'kioslave/file')
-rw-r--r--kioslave/file/file.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/kioslave/file/file.cc b/kioslave/file/file.cc
index e33260b4b..79904bb50 100644
--- a/kioslave/file/file.cc
+++ b/kioslave/file/file.cc
@@ -1222,8 +1222,9 @@ void FileProtocol::listDir( const KURL& url)
// files where TQFile::encodeName(TQFile::decodeName(a)) != a.
TQStrList entryNames;
- while ( ( ep = KDE_readdir( dp ) ) != 0L )
+ while ( ( ep = KDE_readdir( dp ) ) != 0L ) {
entryNames.append( ep->d_name );
+ }
closedir( dp );
totalSize( entryNames.count() );