From b4a23465b612356d94db0f66fc728b90dc3d0dca Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 7 May 2013 23:49:47 -0500 Subject: Use standard unicode forward slash representation if available instead of nonstandard HTML encoding This resolves Bug 269 --- tdeioslave/file/file.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tdeioslave/file') 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() ); -- cgit v1.2.1