run clang-format (3.5.0)

Not quite sure why there are so many differences. Perhaps we’ve gotten
out of the habit of running clang-format after every change.

I guess it’d be best to have a travis hook that runs clang-format for us
and reports any problems on pull requests.
This commit is contained in:
Michael Stapelberg
2015-03-01 17:16:03 +01:00
parent 0876bd621f
commit 091f1db39a
19 changed files with 90 additions and 90 deletions

View File

@ -511,7 +511,7 @@ DRAGGING_CB(resize_window_callback) {
dest_height = max(dest_height, (int)(dest_width / ratio));
}
con->rect = (Rect) {dest_x, dest_y, dest_width, dest_height};
con->rect = (Rect){dest_x, dest_y, dest_width, dest_height};
/* Obey window size */
floating_check_size(con);