From 86018cd3bf2dd3c07c176ced4450ebf78f81d6e1 Mon Sep 17 00:00:00 2001 From: forsyth Date: Thu, 25 Mar 2010 10:14:25 +0000 Subject: 20100325-1014 --- libtk/buton.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libtk/buton.c') diff --git a/libtk/buton.c b/libtk/buton.c index 5cbd1d6e..80a33bab 100644 --- a/libtk/buton.c +++ b/libtk/buton.c @@ -362,9 +362,7 @@ tkdrawbutton(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)) -- cgit v1.2.3