[PATCH 4/5] wined3d: Fix indentation in d3dfmt_p8_init_palette.

Stefan Dösinger stefan at codeweavers.com
Thu May 15 07:33:14 CDT 2014


Eb4d5c7a removed an if condition around this code and shifted the
comment to the left. I forgot to move the code though. I noticed this
before sending the patch, but accidentally commited the fix to an
unrelated patch and didn't notice that the fix was missing.
---
 dlls/wined3d/surface.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index e50cb7d..b6287c3 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -3309,7 +3309,8 @@ void d3dfmt_p8_init_palette(const struct wined3d_surface *surface, BYTE table[25
         FIXME("No palette set.\n");
         /* Guarantees that memory representation remains correct after sysmem<->texture transfers even if
          * there's no palette at this time. */
-            for (i = 0; i < 256; i++) table[i][3] = i;
+        for (i = 0; i < 256; i++)
+            table[i][3] = i;
     }
     else
     {
-- 
1.8.5.5




More information about the wine-patches mailing list