[xiph-commits] r3525 - liboggz/trunk/src/liboggz

conrad at svn.annodex.net conrad at svn.annodex.net
Wed Mar 26 14:20:39 PDT 2008


Author: conrad
Date: 2008-03-26 14:20:37 -0700 (Wed, 26 Mar 2008)
New Revision: 3525

Modified:
   liboggz/trunk/src/liboggz/oggz_vector.c
Log:
fix random CRLF line endings


Modified: liboggz/trunk/src/liboggz/oggz_vector.c
===================================================================
--- liboggz/trunk/src/liboggz/oggz_vector.c	2008-03-25 15:01:42 UTC (rev 3524)
+++ liboggz/trunk/src/liboggz/oggz_vector.c	2008-03-26 21:20:37 UTC (rev 3525)
@@ -91,11 +91,11 @@
 static void
 oggz_vector_clear (OggzVector * vector)
 {
-  if (vector->data)
-  {
+  if (vector->data)
+  {
     oggz_free (vector->data);
-    vector->data = NULL;
-  }
+    vector->data = NULL;
+  }
 
   vector->nr_elements = 0;
   vector->max_elements = 0;
@@ -266,7 +266,7 @@
 
     if (new_elements == NULL) {
       vector->nr_elements--;
-      vector->data = NULL;
+      vector->data = NULL;
       return NULL;
     }
 
@@ -359,12 +359,12 @@
         oggz_realloc (vector->data,
         (size_t)new_max_elements * sizeof (oggz_data_t));
 
-      if (new_elements == NULL)
-      {
+      if (new_elements == NULL)
+      {
         vector->data = NULL;
         return NULL;
       }
-
+
       vector->max_elements = new_max_elements;
       vector->data = new_elements;
     }



More information about the commits mailing list