skins/AknSkins/sdcsrc/SDCData.cpp
changeset 53 8f0f421d3d0f
parent 50 c6286dcf6040
--- a/skins/AknSkins/sdcsrc/SDCData.cpp	Mon May 03 13:28:06 2010 +0300
+++ b/skins/AknSkins/sdcsrc/SDCData.cpp	Fri May 14 16:51:29 2010 +0300
@@ -267,12 +267,12 @@
     
     //check file
    	if( !CheckFile( iBmpPath , aFilename ) )
-		   	{
-			  char filename[512];
-			  CSDCInput::ConvertToAscii( filename, aFilename );
-		    printf("NOTE: item %s not add beacuse file not exist!!\n",filename);
-		    return entry;
-		   	}
+        {
+        char filename[512];
+        CSDCInput::ConvertToAscii( filename, aFilename );
+        printf("NOTE: item %s not add beacuse file not exist!!\n",filename);
+        return entry;
+        }
 
     entry->iIndex = iNextIconIndex;
     iNextIconIndex += 2;
@@ -301,9 +301,9 @@
         {
         wcscpy( iBmpPath, aPath );
         if( wcslen( iBmpPath ) &&
-            wcscmp( iBmpPath+wcslen(iBmpPath)-1, L"\\" ) )
+            wcscmp( iBmpPath+wcslen(iBmpPath)-1, L"/" ) )
             {
-            wcscat( iBmpPath, L"\\" );
+            wcscat( iBmpPath, L"/" );
             printf("NOTE: Trailing backslash appended to bitmap path\n");
             }
         }
@@ -444,22 +444,22 @@
     
     
 bool CSDCData::CheckFile( const wchar_t* aPath , const wchar_t* aFileName )
-		{
-		char asciiPatch[512];
-		CSDCInput::ConvertToAscii( asciiPatch, aPath );
-		char asciiFileName[512];
-		CSDCInput::ConvertToAscii( asciiFileName, aFileName );
+    {
+    char asciiPatch[512];
+    CSDCInput::ConvertToAscii( asciiPatch, aPath );
+    char asciiFileName[512];
+    CSDCInput::ConvertToAscii( asciiFileName, aFileName );
 		
-		strcat(asciiPatch,asciiFileName);
+    strcat(asciiPatch,asciiFileName);
 
     struct stat buf;
     int result = stat( asciiPatch, &buf );
     if(result == -1)
-		    {
-		    return false;
-		    }
+        {
+        return false;
+        }
     return true;
     
-		}
+    }
 
 // End of file