Commit 35a0475a authored by conrad's avatar conrad

fix random CRLF line endings


git-svn-id: http://svn.annodex.net/liboggz/trunk@3525 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent cf37ba31
......@@ -91,11 +91,11 @@ oggz_vector_new (void)
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 @@ oggz_vector_grow (OggzVector * vector)
if (new_elements == NULL) {
vector->nr_elements--;
vector->data = NULL;
vector->data = NULL;
return NULL;
}
......@@ -359,12 +359,12 @@ oggz_vector_remove_nth (OggzVector * vector, int n)
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment