diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-10 22:49:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-10 22:49:30 (GMT) |
commit | 3498a8c53238b6e5de027d16078fd177c897e70e (patch) | |
tree | 61503a1747f830a8b1535390052704babd75d359 /generic/tkCanvText.c | |
parent | e1a3df121abcf048773a6469883d1167c730b976 (diff) | |
download | tk-3498a8c53238b6e5de027d16078fd177c897e70e.zip tk-3498a8c53238b6e5de027d16078fd177c897e70e.tar.gz tk-3498a8c53238b6e5de027d16078fd177c897e70e.tar.bz2 |
Fix [3e966346] canvas text item -underline attribute not reciprocal
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r-- | generic/tkCanvText.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c index 185d4a4..b631ebd 100644 --- a/generic/tkCanvText.c +++ b/generic/tkCanvText.c @@ -168,7 +168,7 @@ UnderlinePrintProc( } p = (char *)ckalloc(32); if (underline < 0) { - snprintf(p, 32, "end%d", underline); + snprintf(p, 32, "end%d", 1 + underline); } else { snprintf(p, 32, "%d", underline); } |