kernel32: Indentation fix

Andrew Talbot andrew.talbot at talbotville.com
Mon May 26 10:23:53 CDT 2008


Changelog:
    kernel32: Indentation fix.

diff --git a/dlls/kernel32/except.c b/dlls/kernel32/except.c
index 21d3584..742ece5 100644
--- a/dlls/kernel32/except.c
+++ b/dlls/kernel32/except.c
@@ -249,18 +249,18 @@ static BOOL	start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
         RtlInitUnicodeString( &nameW, AutoW );
         if (!NtQueryValueKey( hDbgConf, &nameW, KeyValuePartialInformation,
                               buffer, sizeof(buffer)-sizeof(WCHAR), &format_size ))
-       {
-           info = (KEY_VALUE_PARTIAL_INFORMATION *)buffer;
-           if (info->Type == REG_DWORD) memcpy( &bAuto, info->Data, sizeof(DWORD) );
-           else if (info->Type == REG_SZ)
-           {
-               WCHAR *str = (WCHAR *)info->Data;
-               str[info->DataLength/sizeof(WCHAR)] = 0;
-               bAuto = atoiW( str );
-           }
-       }
-
-       NtClose(hDbgConf);
+        {
+            info = (KEY_VALUE_PARTIAL_INFORMATION *)buffer;
+            if (info->Type == REG_DWORD) memcpy( &bAuto, info->Data, sizeof(DWORD) );
+            else if (info->Type == REG_SZ)
+            {
+                WCHAR *str = (WCHAR *)info->Data;
+                str[info->DataLength/sizeof(WCHAR)] = 0;
+                bAuto = atoiW( str );
+            }
+        }
+
+        NtClose(hDbgConf);
     }
 
     if (format)
diff --git a/dlls/kernel32/lcformat.c b/dlls/kernel32/lcformat.c
index 0445a9b..7d8ed54 100644
--- a/dlls/kernel32/lcformat.c
+++ b/dlls/kernel32/lcformat.c
@@ -1046,7 +1046,7 @@ GetNumberFormatW_Error:
     case NLS_NEG_RIGHT_SPACE:
       while (lpszNeg >= lpszNegStart)
         *szOut-- = *lpszNeg--;
-     if (lpFormat->NegativeOrder == NLS_NEG_RIGHT_SPACE)
+      if (lpFormat->NegativeOrder == NLS_NEG_RIGHT_SPACE)
        *szOut-- = ' ';
       break;
     }
diff --git a/dlls/kernel32/thunk.c b/dlls/kernel32/thunk.c
index 3533051..30da087 100644
--- a/dlls/kernel32/thunk.c
+++ b/dlls/kernel32/thunk.c
@@ -1688,7 +1688,7 @@ static THUNKLET *THUNK_FindThunklet( DWORD target, DWORD relay,
                   : ( thunk->glue == glue ) ) )
             return thunk;
 
-     return NULL;
+    return NULL;
 }
 
 /***********************************************************************
diff --git a/dlls/kernel32/toolhelp.c b/dlls/kernel32/toolhelp.c
index 5cd8d90..0bf013b 100644
--- a/dlls/kernel32/toolhelp.c
+++ b/dlls/kernel32/toolhelp.c
@@ -282,7 +282,7 @@ static void fill_thread( struct snapshot* snap, ULONG* offset, LPVOID info, ULON
 
             sti++;
             thd_entry++;
-      }
+        }
     } while ((poff = spi->dwOffset));
     *offset += num * sizeof(THREADENTRY32);
 }



More information about the wine-patches mailing list