aboutsummaryrefslogtreecommitdiff
path: root/japanese/libtomoe-gtk
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-12-18 19:03:26 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-12-18 19:03:26 +0000
commite85cbc9f67779278fd77ed8a2af2ab3c9a22be75 (patch)
tree11251c1a24e385f02291866a78e953321bc0fa5e /japanese/libtomoe-gtk
parenta60f9e1826309be69767cb346b77c315369a94db (diff)
downloadports-e85cbc9f67779278fd77ed8a2af2ab3c9a22be75.tar.gz
ports-e85cbc9f67779278fd77ed8a2af2ab3c9a22be75.zip
Notes
Diffstat (limited to 'japanese/libtomoe-gtk')
-rw-r--r--japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c b/japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c
new file mode 100644
index 000000000000..303bfb332b42
--- /dev/null
+++ b/japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c
@@ -0,0 +1,17 @@
+Index: src/tomoe_canvas.c
+diff -u -p src/tomoe_canvas.c.orig src/tomoe_canvas.c
+--- src/tomoe_canvas.c.orig Tue Oct 18 17:56:15 2005
++++ src/tomoe_canvas.c Mon Dec 19 03:53:30 2005
+@@ -1073,9 +1073,11 @@ draw_stroke (GList *stroke, TomoeCanvas
+
+ for (node = stroke; node; node = g_list_next (node)) {
+ GList *next = g_list_next (node);
++ point *p1, *p2;
+ if (!next) break;
+
+- point *p1 = (point*) node->data, *p2 = (point*) next->data;
++ p1 = (point*) node->data;
++ p2 = (point*) next->data;
+ tomoe_canvas_draw_line (canvas, p1, p2, FALSE);
+ }
+ draw_annotate (stroke, canvas, *index);