diff options
Diffstat (limited to 'libtk/label.c')
| -rw-r--r-- | libtk/label.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libtk/label.c b/libtk/label.c index fe1ca2ff..9eef1336 100644 --- a/libtk/label.c +++ b/libtk/label.c @@ -321,9 +321,7 @@ tkdrawlabel(Tk *tk, Point orig) ct = tkgc(e, fgnd); p.y += (h - tkl->textheight) / 2; - o = tkdrawstring(tk, i, addpt(u, p), tkl->text, tkl->ul, ct, tkl->justify); - if(o != nil) - return o; + tkdrawstring(tk, i, addpt(u, p), tkl->text, tkl->ul, ct, tkl->justify); } if(tkhaskeyfocus(tk)) |
