summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkFont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index a4e47b1..4183686 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -3940,6 +3940,7 @@ TkFontParseXLFD(
} else if (Tcl_GetInt(NULL, field[XLFD_PIXEL_SIZE],
&i) == TCL_OK) {
faPtr->size = (double)i;
+ } else {
return TCL_ERROR;
}
}