[MSHTML] Convert tabs to spaces
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 28 Apr 2019 18:27:21 +0000 (20:27 +0200)
committerHervé Poussineau <hpoussin@reactos.org>
Mon, 27 May 2019 11:22:40 +0000 (13:22 +0200)
Fixes GCC 8 warning:
dll/win32/mshtml/script.c:844:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if(!new_buf)
    ^~
dll/win32/mshtml/script.c:846:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
             This->size <<= 1;
             ^~~~

dll/win32/mshtml/script.c

index 39d8aed..b6d309e 100644 (file)
@@ -839,10 +839,10 @@ static HRESULT ScriptBSC_read_data(BSCallback *bsc, IStream *stream)
 
     do {
         if(This->bsc.readed >= This->size) {
-         void *new_buf;
-         new_buf = heap_realloc(This->buf, This->size << 1);
-         if(!new_buf)
-           return E_OUTOFMEMORY;
+            void *new_buf;
+            new_buf = heap_realloc(This->buf, This->size << 1);
+            if(!new_buf)
+                return E_OUTOFMEMORY;
             This->size <<= 1;
             This->buf = new_buf;
         }