From: Christian Heller Date: Sun, 13 Apr 2014 22:35:13 +0000 (+0200) Subject: Client: Minor code restyling in place_win(). X-Git-Tag: tce~770 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_data.id_%7D%7D?a=commitdiff_plain;h=87aec00b668777cef82a9a43e490563e9c90f039;p=plomrogue Client: Minor code restyling in place_win(). --- diff --git a/src/client/wincontrol.c b/src/client/wincontrol.c index 816934a..21308e7 100644 --- a/src/client/wincontrol.c +++ b/src/client/wincontrol.c @@ -109,9 +109,7 @@ static void place_win(struct Win * w) * top, fit w's top left corner to that predecessor's top right corner. */ struct Win * w_top = w_prev; - for (; - w_top->start.y != 0 + sep; - w_top = get_win_before(w_top->id)); + for (; w_top->start.y != 0 + sep; w_top = get_win_before(w_top->id)); w->start.x = w_top->start.x + w_top->frame_size.x + sep; /* If enough space is found below w's predecessor, fit w's top left