summaryrefslogtreecommitdiff
path: root/chinese/gnumeric/files/patch-ac
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-06 07:19:39 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-06 07:19:39 +0000
commit007c839ed19327befcd9e199e35bf0cce80a187b (patch)
treecb7f29884851899dd9b3871c44da1c72a7b65038 /chinese/gnumeric/files/patch-ac
parentRemove duplicate port. (diff)
Initial version. Gnumeric is a spreadsheet for GNOME.
This is a slightly modified version of japanese/gnumeric. It can exchange simple spreadsheets with MS Excel. TODO: Test CLE's patch, to see if a static gnomeole2 is needed to avoid frequent crash when opening complicated .xls.
Notes
Notes: svn path=/head/; revision=39115
Diffstat (limited to '')
-rw-r--r--chinese/gnumeric/files/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/chinese/gnumeric/files/patch-ac b/chinese/gnumeric/files/patch-ac
new file mode 100644
index 000000000000..2e72eab92aff
--- /dev/null
+++ b/chinese/gnumeric/files/patch-ac
@@ -0,0 +1,14 @@
+--- src/item-edit.c.orig Mon Oct 30 23:06:00 2000
++++ src/item-edit.c Mon Oct 30 23:08:03 2000
+@@ -223,6 +223,11 @@
+ return;
+ top_pos += item_edit->font->ascent;
+
++ /* Handle multibyte */
++ if( cursor_pos != -1 )
++ cursor_pos = strlen(gtk_editable_get_chars(GTK_EDITABLE(item_edit->entry),
++ 0, cursor_pos));
++
+ /* Draw the background (recall that gdk_draw_rectangle excludes far coords) */
+ gdk_draw_rectangle (
+ drawable, canvas->style->white_gc, TRUE,