# HG changeset patch # User Ryan C. Gordon # Date 1202145933 0 # Node ID 7ae1c419b6263019db5365f68fa3c7645010002d # Parent ebcebb426771bac28ca6b4825f177f4fbb939a0f Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy(). diff -r ebcebb426771 -r 7ae1c419b626 include/SDL_stdinc.h --- a/include/SDL_stdinc.h Thu Jan 24 15:51:52 2008 +0000 +++ b/include/SDL_stdinc.h Mon Feb 04 17:25:33 2008 +0000 @@ -373,6 +373,7 @@ __asm__ __volatile__ ( \ "std\n\t" \ "rep ; movsl\n\t" \ + "cld\n\t" \ : "=&c" (u0), "=&D" (u1), "=&S" (u2) \ : "0" (n >> 2), \ "1" (dstp+(n-4)), "2" (srcp+(n-4)) \