summaryrefslogtreecommitdiffstats
path: root/source/widgets/box.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2018-08-08 15:55:13 +0200
committerDave Davenport <qball@gmpclient.org>2018-08-08 15:55:13 +0200
commit859a9c79d604ab6d0bd25af269e4c3f59b2a970b (patch)
tree025477f377a28581d2ffea4098b2caa939b64ceb /source/widgets/box.c
parent4631ac711f8048433ea9b5a3449179ef3f583cd7 (diff)
Indent the code.
Diffstat (limited to 'source/widgets/box.c')
-rw-r--r--source/widgets/box.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/widgets/box.c b/source/widgets/box.c
index 7c184d72..11733a6f 100644
--- a/source/widgets/box.c
+++ b/source/widgets/box.c
@@ -58,10 +58,10 @@ static int box_get_desired_width ( widget *wid )
int width = 0;
// Allow user to override.
- RofiDistance w = rofi_theme_get_distance ( wid, "width", 0 );
+ RofiDistance w = rofi_theme_get_distance ( wid, "width", 0 );
width = distance_get_pixel ( w, ROFI_ORIENTATION_HORIZONTAL );
if ( width > 0 ) {
- return width ;
+ return width;
}
if ( b->type == ROFI_ORIENTATION_HORIZONTAL ) {