diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-03-25 10:14:25 +0000 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-03-25 10:14:25 +0000 |
| commit | 86018cd3bf2dd3c07c176ced4450ebf78f81d6e1 (patch) | |
| tree | 9612d0860ba7ac505a6f46ad70d1db4f915273e7 /libtk/buton.c | |
| parent | 0b97835064f7a6adffa5529a9676920f6c1ad3bf (diff) | |
20100325-1014
Diffstat (limited to 'libtk/buton.c')
| -rw-r--r-- | libtk/buton.c | 4 |
1 files changed, 1 insertions, 3 deletions
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)) |
