summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-05-27 21:55:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-05-27 21:55:40 +0000
commit2b0569285270c365f74d36fde991d193e7d82462 (patch)
tree946e1102ee08b307570c1bdf8a411cee5923f6db
parent7af9e0e4ddef1f677901e167eba618545c4e1b0f (diff)
downloadpango-2b0569285270c365f74d36fde991d193e7d82462.tar.gz
Revert error return changes from last commit.
Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Revert error return changes from last commit.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--ChangeLog.pre-1-65
-rw-r--r--ChangeLog.pre-1-85
-rw-r--r--pango/opentype/otlbuffer.c16
5 files changed, 26 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 07b45852..b292b5eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/otlbuffer.c: Revert error return changes
+ from last commit.
+
Thu May 27 16:57:30 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/otlbuffer.c: Free buffer->positions,
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 07b45852..b292b5eb 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/otlbuffer.c: Revert error return changes
+ from last commit.
+
Thu May 27 16:57:30 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/otlbuffer.c: Free buffer->positions,
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 07b45852..b292b5eb 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,8 @@
+Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/otlbuffer.c: Revert error return changes
+ from last commit.
+
Thu May 27 16:57:30 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/otlbuffer.c: Free buffer->positions,
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 07b45852..b292b5eb 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,8 @@
+Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/otlbuffer.c: Revert error return changes
+ from last commit.
+
Thu May 27 16:57:30 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/otlbuffer.c: Free buffer->positions,
diff --git a/pango/opentype/otlbuffer.c b/pango/opentype/otlbuffer.c
index e9fd03b4..bb0d5e43 100644
--- a/pango/opentype/otlbuffer.c
+++ b/pango/opentype/otlbuffer.c
@@ -28,15 +28,12 @@
while (size > new_allocated)
new_allocated += (new_allocated >> 1) + 8;
-
- error = FT_REALLOC_ARRAY( buffer->in_string, buffer->allocated, new_allocated, OTL_GlyphItemRec );
- if ( error )
+
+ if ( FT_REALLOC_ARRAY( buffer->in_string, buffer->allocated, new_allocated, OTL_GlyphItemRec ) )
return error;
- error = FT_REALLOC_ARRAY( buffer->out_string, buffer->allocated, new_allocated, OTL_GlyphItemRec );
- if ( error )
+ if ( FT_REALLOC_ARRAY( buffer->out_string, buffer->allocated, new_allocated, OTL_GlyphItemRec ) )
return error;
- error = FT_REALLOC_ARRAY( buffer->positions, buffer->allocated, new_allocated, OTL_PositionRec );
- if ( error )
+ if ( FT_REALLOC_ARRAY( buffer->positions, buffer->allocated, new_allocated, OTL_PositionRec ) )
return error;
buffer->allocated = new_allocated;
@@ -50,9 +47,8 @@
OTL_Buffer *buffer )
{
FT_Error error;
-
- error = FT_ALLOC( *buffer, sizeof( OTL_BufferRec ) );
- if ( error )
+
+ if ( FT_ALLOC( *buffer, sizeof( OTL_BufferRec ) ) )
return error;
(*buffer)->memory = memory;