diff options
author | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
commit | 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch) | |
tree | c44c4e61f18ddd537f7082cb48869cf33d422fbd /backends/fs/windows/windows-fs.cpp | |
parent | 86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff) | |
download | scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2 scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip |
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'backends/fs/windows/windows-fs.cpp')
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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]; |