mudgangster

Log | Files | Refs

commit 879068ae65ccf4ee6f1d44cfb6cfc1e550023d72
parent d21f34edbf865c9625ade064839e7dec2ab1cf8e
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon,  3 Sep 2018 18:11:24 +0300

Style

Diffstat:
src/textbox.cc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/textbox.cc b/src/textbox.cc @@ -77,9 +77,8 @@ void textbox_newline( TextBox * tb ) { } void textbox_draw( const TextBox * tb ) { - if( tb->width == 0 || tb->height == 0 ) { + if( tb->width == 0 || tb->height == 0 ) return; - } Pixmap doublebuf = XCreatePixmap( UI.display, UI.window, tb->width, tb->height, UI.depth );