]> granicus.if.org Git - taglib/commitdiff
Whitespace
authorAlberto Fustinoni <alberto@aftnet.net>
Mon, 24 Oct 2016 12:22:57 +0000 (21:22 +0900)
committerAlberto Fustinoni <alberto@aftnet.net>
Mon, 24 Oct 2016 12:22:57 +0000 (21:22 +0900)
taglib/toolkit/tfilestream.cpp

index 8599bccd863b10b08fb9471ad9cb8336c9f811cb..1a740c924c76ddba69440564cdede8fe86f8eb32 100644 (file)
@@ -52,12 +52,12 @@ namespace
     const DWORD access = readOnly ? GENERIC_READ : (GENERIC_READ | GENERIC_WRITE);
        
 #if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0602)
-       return CreateFile2(path.toString().toCWString(), access, FILE_SHARE_READ, OPEN_EXISTING, NULL);
+    return CreateFile2(path.toString().toCWString(), access, FILE_SHARE_READ, OPEN_EXISTING, NULL);
 #else
-       if(!path.wstr().empty())
-         return CreateFileW(path.wstr().c_str(), access, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
+    if(!path.wstr().empty())
+      return CreateFileW(path.wstr().c_str(), access, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
        else if(!path.str().empty())
-         return CreateFileA(path.str().c_str(), access, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
+      return CreateFileA(path.str().c_str(), access, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
     else
       return InvalidFileHandle;
 #endif