summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-20 19:11:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-20 19:11:23 (GMT)
commitc474dae757819195f58b98303f5ceb73eba231f0 (patch)
treec474fa56ab10ae6114bac5cef5cd2050dc1ac958 /generic
parent090dff7eae2a557c2293d61f6a6dd7fce5da00c7 (diff)
downloadtk-c474dae757819195f58b98303f5ceb73eba231f0.zip
tk-c474dae757819195f58b98303f5ceb73eba231f0.tar.gz
tk-c474dae757819195f58b98303f5ceb73eba231f0.tar.bz2
.... missing else ... in previous commit
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;
}
}