summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-07 23:49:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-07 23:49:47 -0500
commitb4a23465b612356d94db0f66fc728b90dc3d0dca (patch)
tree8a62173d671284d054d297bcb343b9d15bc96b4e /tdeioslave
parentecaf622512756000f3abf9687a0f3bfbadd8c75d (diff)
downloadtdelibs-b4a23465b612356d94db0f66fc728b90dc3d0dca.tar.gz
tdelibs-b4a23465b612356d94db0f66fc728b90dc3d0dca.zip
Use standard unicode forward slash representation if available instead of nonstandard HTML encoding
This resolves Bug 269
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/file/file.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdeioslave/file/file.cc b/tdeioslave/file/file.cc
index 1caeaef3e..75b3b17a1 100644
--- a/tdeioslave/file/file.cc
+++ b/tdeioslave/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() );