Andrew Talbot : mapi32: Indentation fix.

Alexandre Julliard julliard at winehq.org
Mon Dec 17 13:58:22 CST 2012


Module: wine
Branch: master
Commit: c8e952c9397d8e998a4506d18cd98cb3241017ee
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c8e952c9397d8e998a4506d18cd98cb3241017ee

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Dec 15 14:43:41 2012 +0000

mapi32: Indentation fix.

---

 dlls/mapi32/prop.c |   74 ++++++++++++++++++++++++++--------------------------
 1 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/dlls/mapi32/prop.c b/dlls/mapi32/prop.c
index a623424..ce122a3 100644
--- a/dlls/mapi32/prop.c
+++ b/dlls/mapi32/prop.c
@@ -736,44 +736,44 @@ SCODE WINAPI ScCountProps(INT iCount, LPSPropValue lpProps, ULONG *pcBytes)
             lpProps[i].ulPropTag == PROP_ID_INVALID)
             return MAPI_E_INVALID_PARAMETER;
 
-            if (PROP_TYPE(lpProps[i].ulPropTag) != PT_OBJECT)
-            {
-                ulPropSize = UlPropSize(&lpProps[i]);
-                if (!ulPropSize)
-                    return MAPI_E_INVALID_PARAMETER;
-            }
+        if (PROP_TYPE(lpProps[i].ulPropTag) != PT_OBJECT)
+        {
+            ulPropSize = UlPropSize(&lpProps[i]);
+            if (!ulPropSize)
+                return MAPI_E_INVALID_PARAMETER;
+        }
 
-            switch (PROP_TYPE(lpProps[i].ulPropTag))
-            {
-            case PT_STRING8:
-            case PT_UNICODE:
-            case PT_CLSID:
-            case PT_BINARY:
-            case PT_MV_I2:
-            case PT_MV_I4:
-            case PT_MV_I8:
-            case PT_MV_R4:
-            case PT_MV_R8:
-            case PT_MV_CURRENCY:
-            case PT_MV_SYSTIME:
-            case PT_MV_APPTIME:
-                ulPropSize += sizeof(SPropValue);
-                break;
-            case PT_MV_CLSID:
-                ulPropSize += lpProps[i].Value.MVszA.cValues * sizeof(char*) + sizeof(SPropValue);
-                break;
-            case PT_MV_STRING8:
-            case PT_MV_UNICODE:
-                ulPropSize += lpProps[i].Value.MVszA.cValues * sizeof(char*) + sizeof(SPropValue);
-                break;
-            case PT_MV_BINARY:
-                ulPropSize += lpProps[i].Value.MVbin.cValues * sizeof(SBinary) + sizeof(SPropValue);
-                break;
-            default:
-                ulPropSize = sizeof(SPropValue);
-                break;
-            }
-            ulBytes += ulPropSize;
+        switch (PROP_TYPE(lpProps[i].ulPropTag))
+        {
+        case PT_STRING8:
+        case PT_UNICODE:
+        case PT_CLSID:
+        case PT_BINARY:
+        case PT_MV_I2:
+        case PT_MV_I4:
+        case PT_MV_I8:
+        case PT_MV_R4:
+        case PT_MV_R8:
+        case PT_MV_CURRENCY:
+        case PT_MV_SYSTIME:
+        case PT_MV_APPTIME:
+            ulPropSize += sizeof(SPropValue);
+            break;
+        case PT_MV_CLSID:
+            ulPropSize += lpProps[i].Value.MVszA.cValues * sizeof(char*) + sizeof(SPropValue);
+            break;
+        case PT_MV_STRING8:
+        case PT_MV_UNICODE:
+            ulPropSize += lpProps[i].Value.MVszA.cValues * sizeof(char*) + sizeof(SPropValue);
+            break;
+        case PT_MV_BINARY:
+            ulPropSize += lpProps[i].Value.MVbin.cValues * sizeof(SBinary) + sizeof(SPropValue);
+            break;
+        default:
+            ulPropSize = sizeof(SPropValue);
+            break;
+        }
+        ulBytes += ulPropSize;
     }
     if (pcBytes)
         *pcBytes = ulBytes;




More information about the wine-cvs mailing list