summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <pfaedit@users.sourceforge.net>2011-02-21 11:53:56 -0800
committerGeorge Williams <pfaedit@users.sourceforge.net>2011-02-21 11:53:56 -0800
commitc556cd26fe7787b7a35a26d67615f1334b9edb22 (patch)
tree7c072e7b0fea9839e3b6ec0ab1802ecaa058b2c1
parentf58304fd835c09d044861b0ce757b1268ca9e44c (diff)
The [guess] button wasn't working properly after the change to the private pane of font info.
-rw-r--r--fontforge/fontinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontforge/fontinfo.c b/fontforge/fontinfo.c
index b0615153..62fe90fa 100644
--- a/fontforge/fontinfo.c
+++ b/fontforge/fontinfo.c
@@ -2065,7 +2065,7 @@ static int PI_Guess(GGadget *g, GEvent *e) {
gw = GGadgetGetWindow(g);
d = GDrawGetUserData(gw);
private = GWidgetGetControl(gw,CID_Private);
- strings = _GMatrixEditGet(private, &rows);
+ strings = GMatrixEditGet(private, &rows); /* Commit any changes made thus far */
cols = GMatrixEditGetColCnt(private);
r = GMatrixEditGetActiveRow(private);
key = strings[r*cols+0].u.md_str;