clang-format: update with latest
Pick up the latest .clang-format from the docs repository.
Change-Id: I205c7f9abd502a02a480b489446f3db37f303e05
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/menu.cpp b/menu.cpp
index dcff459..a516c5f 100644
--- a/menu.cpp
+++ b/menu.cpp
@@ -202,8 +202,8 @@
}
return;
}
- const int nrows =
- (order == ColumnMajor) ? DispEntriesPerColumn() : DispEntriesPerRow();
+ const int nrows = (order == ColumnMajor) ? DispEntriesPerColumn()
+ : DispEntriesPerRow();
const int tot_columns = (N - 1) / nrows + 1;
const int num_rows_last_column = N - nrows * (tot_columns - 1);
int y = choice_ % nrows, x = choice_ / nrows;