Revision
3729
Author
lsansonetti@apple.com
Date
2010-03-09 19:09:42 -0800 (Tue, 09 Mar 2010)

Log Message

re-indent some code

Modified Paths

Diff

Modified: MacRuby/branches/icu/ext/zlib/zlib.c (3728 => 3729)


--- MacRuby/branches/icu/ext/zlib/zlib.c	2010-03-10 03:07:55 UTC (rev 3728)
+++ MacRuby/branches/icu/ext/zlib/zlib.c	2010-03-10 03:09:42 UTC (rev 3729)
@@ -552,11 +552,11 @@
 zstream_discard_input(struct zstream *z, unsigned int len)
 {
     if (NIL_P(z->input) || BSTRING_LEN(z->input) <= len) {
-	    z->input = Qnil;
+	z->input = Qnil;
     } else {
-        UInt8 *buf = BSTRING_PTR(z->input);
-        memmove(buf, buf+len, BSTRING_LEN(z->input) - len);
-	    rb_bstr_resize(z->input, BSTRING_LEN(z->input) - len);
+	UInt8 *buf = BSTRING_PTR(z->input);
+	memmove(buf, buf+len, BSTRING_LEN(z->input) - len);
+	rb_bstr_resize(z->input, BSTRING_LEN(z->input) - len);
     }
 }