From 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 30 Jul 2005 21:11:48 +0000 Subject: Remove trailing whitespaces. svn-id: r18604 --- backends/fs/windows/windows-fs.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'backends/fs/windows') diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index 2de92b83f1..93ed3d799e 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -38,7 +38,7 @@ protected: bool _isValid; bool _isPseudoRoot; String _path; - + public: WindowsFilesystemNode(); WindowsFilesystemNode(const String &path); @@ -63,7 +63,7 @@ char* WindowsFilesystemNode::toAscii(TCHAR *x) { #ifndef UNICODE return (char*)x; -#else +#else static char asciiString[MAX_PATH]; WideCharToMultiByte(CP_ACP, 0, x, _tcslen(x) + 1, asciiString, sizeof(asciiString), NULL, NULL); return asciiString; @@ -128,7 +128,7 @@ WindowsFilesystemNode::WindowsFilesystemNode() { _isValid = true; _path = "\\"; _isPseudoRoot = false; -#endif +#endif } WindowsFilesystemNode::WindowsFilesystemNode(const String &p) { @@ -179,9 +179,9 @@ FSList WindowsFilesystemNode::listDir(ListMode mode) const { TCHAR drive_buffer[100]; GetLogicalDriveStrings(sizeof(drive_buffer) / sizeof(TCHAR), drive_buffer); - for (TCHAR *current_drive = drive_buffer; *current_drive; + for (TCHAR *current_drive = drive_buffer; *current_drive; current_drive += _tcslen(current_drive) + 1) { - WindowsFilesystemNode entry; + WindowsFilesystemNode entry; char drive_name[2]; drive_name[0] = toAscii(current_drive)[0]; -- cgit v1.2.3