aboutsummaryrefslogtreecommitdiff
path: root/core/bind/core_bind.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-01-14 17:51:21 +0100
committerRémi Verschelde2017-03-18 21:05:58 +0100
commit4bfecab8138a773b4422111cd7be9e71e4052099 (patch)
treec2218ca5f3652033bd23769d23a4fe86dddaa222 /core/bind/core_bind.cpp
parent9992509b0dd05c5e32619ed067af9e94a06d5980 (diff)
downloadgodot-4bfecab8138a773b4422111cd7be9e71e4052099.tar.gz
godot-4bfecab8138a773b4422111cd7be9e71e4052099.tar.zst
godot-4bfecab8138a773b4422111cd7be9e71e4052099.zip
Style: No break before list brace
clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty` (cherry picked from commit 40323407df65ef8f40648c51ab9b4574ea985d7f)
Diffstat (limited to 'core/bind/core_bind.cpp')
-rw-r--r--core/bind/core_bind.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp
index 41529252d..62dfe8836 100644
--- a/core/bind/core_bind.cpp
+++ b/core/bind/core_bind.cpp
@@ -642,8 +642,7 @@ uint64_t _OS::get_unix_time_from_datetime(Dictionary datetime) const {
static_cast<unsigned int>(datetime[YEAR_KEY]):0);
/// How many days come before each month (0-12)
- static const unsigned short int DAYS_PAST_THIS_YEAR_TABLE[2][13] =
- {
+ static const unsigned short int DAYS_PAST_THIS_YEAR_TABLE[2][13] = {
/* Normal years. */
{ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },
/* Leap years. */