summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-08-03 20:33:38 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-08-03 20:33:38 +0000
commitaa88a217a518097059f06c7570cad76874a3b915 (patch)
treee7a13d2b9dec88a67eb616612d39f53ba65bf057 /gdk
parent157b6fd7ec9624ee8e43e62187b720545431796f (diff)
downloadgtk+-aa88a217a518097059f06c7570cad76874a3b915.tar.gz
Bugfix.
Bugfix.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkpango.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c
index 029ba9a537..97bec9a165 100644
--- a/gdk/gdkpango.c
+++ b/gdk/gdkpango.c
@@ -197,7 +197,7 @@ gdk_draw_layout_line (GdkDrawable *drawable,
}
if (shape_set)
- continue;
+ goto next_run;
if (fg_set)
fg_gc = gdk_pango_get_gc (context, &fg_color, gc);
@@ -230,7 +230,8 @@ gdk_draw_layout_line (GdkDrawable *drawable,
if (fg_set)
gdk_pango_free_gc (context, fg_gc);
-
+
+ next_run:
x_off += logical_rect.width;
}
}