src/hbservers/hbsplashgenerator/hbsplashdirs_p.h
changeset 5 627c4a0fd0e7
parent 1 f7ac710697a9
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbservers/hbsplashgenerator/hbsplashdirs_p.h	Thu May 27 13:10:59 2010 +0300
+++ b/src/hbservers/hbsplashgenerator/hbsplashdirs_p.h	Fri Jun 11 13:58:22 2010 +0300
@@ -41,8 +41,7 @@
     TInt drive;
     TChar driveLetter;
     if (DriveInfo::GetDefaultDrive(driveType, drive) == KErrNone
-        && DriveInfo::GetDefaultDrive(driveType, driveLetter) == KErrNone)
-    {
+            && DriveInfo::GetDefaultDrive(driveType, driveLetter) == KErrNone) {
         bool driveUsable = true;
         CCoeEnv *env = CCoeEnv::Static();
         if (env) {
@@ -53,11 +52,10 @@
                 // Check if the drive is really internal (devices without internal mass
                 // storage will return the memory card which is not what we want here).
                 if (!(driveStatus & DriveInfo::EDriveInternal)
-                    || !(driveStatus & DriveInfo::EDrivePresent)
-                    || !(driveStatus & DriveInfo::EDriveFormatted)
-                    || (driveStatus & DriveInfo::EDriveCorrupt)
-                    || (driveStatus & DriveInfo::EDriveInUse))
-                {
+                        || !(driveStatus & DriveInfo::EDrivePresent)
+                        || !(driveStatus & DriveInfo::EDriveFormatted)
+                        || (driveStatus & DriveInfo::EDriveCorrupt)
+                        || (driveStatus & DriveInfo::EDriveInUse)) {
                     qDebug("[hbsplash] drive not usable, skipping");
                     driveUsable = false;
                 }