1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-02-10 15:44:41 -05:00

Small tweak.

This commit is contained in:
QC 2014-08-02 22:27:04 +02:00
parent eb688ad629
commit 7046656246

View file

@ -170,10 +170,10 @@ void textbox_moveresize ( textbox *tb, int x, int y, int w, int h )
if ( tb->flags & TB_AUTOWIDTH ) {
if ( w > 1 ) {
w = MIN ( w, textbox_get_font_width ( tb ) + 2 * SIDE_MARGIN );
w = MIN ( w, textbox_get_width ( tb ) );
}
else{
w = textbox_get_font_width ( tb ) + 2 * SIDE_MARGIN;
w = textbox_get_width ( tb );
}
}
else {