changeset 24991:72bc6377fb28

Indent fix for last change.
author ulion
date Sun, 11 Nov 2007 02:58:45 +0000
parents fd919e77c834
children 5701e23ebcb4
files libao2/ao_macosx.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_macosx.c	Sun Nov 11 02:54:57 2007 +0000
+++ b/libao2/ao_macosx.c	Sun Nov 11 02:58:45 2007 +0000
@@ -165,11 +165,11 @@
   if (first_len > len) first_len = len;
   // till end of buffer
   if (data) {
-  memcpy (data, &ao->buffer[ao->buf_read_pos], first_len);
-  if (len > first_len) { // we have to wrap around
-    // remaining part from beginning of buffer
-    memcpy (&data[first_len], ao->buffer, len - first_len);
-  }
+    memcpy (data, &ao->buffer[ao->buf_read_pos], first_len);
+    if (len > first_len) { // we have to wrap around
+      // remaining part from beginning of buffer
+      memcpy (&data[first_len], ao->buffer, len - first_len);
+    }
   }
   ao->buf_read_pos = (ao->buf_read_pos + len) % ao->buffer_len;
   return len;