Fixed macro line endings after whitespace was fixed
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 May 2013 22:04:14 -0700
changeset 7209 805754c011a1
parent 7208 414ad123be9b
child 7210 5b35f3e503c4
Fixed macro line endings after whitespace was fixed
src/video/SDL_stretch.c
--- a/src/video/SDL_stretch.c	Tue May 21 22:01:18 2013 -0700
+++ b/src/video/SDL_stretch.c	Tue May 21 22:04:14 2013 -0700
@@ -150,21 +150,21 @@
 
 #define DEFINE_COPY_ROW(name, type)         \
 static void name(type *src, int src_w, type *dst, int dst_w)    \
-{                           \
-    int i;                      \
-    int pos, inc;                   \
-    type pixel = 0;                 \
-                            \
-    pos = 0x10000;                  \
+{                                           \
+    int i;                                  \
+    int pos, inc;                           \
+    type pixel = 0;                         \
+                                            \
+    pos = 0x10000;                          \
     inc = (src_w << 16) / dst_w;            \
-    for ( i=dst_w; i>0; --i ) {         \
-        while ( pos >= 0x10000L ) {     \
-            pixel = *src++;         \
-            pos -= 0x10000L;        \
-        }                   \
-        *dst++ = pixel;             \
-        pos += inc;             \
-    }                       \
+    for ( i=dst_w; i>0; --i ) {             \
+        while ( pos >= 0x10000L ) {         \
+            pixel = *src++;                 \
+            pos -= 0x10000L;                \
+        }                                   \
+        *dst++ = pixel;                     \
+        pos += inc;                         \
+    }                                       \
 }
 /* *INDENT-OFF* */
 DEFINE_COPY_ROW(copy_row1, Uint8)