diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-13 18:11:32 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-13 18:19:12 +0200 |
commit | e93c8fd21406999884c2c7d9161d049fa832c09b (patch) | |
tree | 5b485400ad3a4fad584c541b84a109d7cfe0a780 /ui/syntax | |
parent | build: actually set cflags (diff) | |
download | wireguard-windows-e93c8fd21406999884c2c7d9161d049fa832c09b.tar.xz wireguard-windows-e93c8fd21406999884c2c7d9161d049fa832c09b.zip |
ui: syntax: fix indentation
Diffstat (limited to 'ui/syntax')
-rw-r--r-- | ui/syntax/syntaxedit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/syntax/syntaxedit.c b/ui/syntax/syntaxedit.c index cf75b0e4..47120a08 100644 --- a/ui/syntax/syntaxedit.c +++ b/ui/syntax/syntaxedit.c @@ -104,10 +104,10 @@ static void evaluate_untunneled_blocking(struct syntaxedit_data *this, HWND hWnd } } - if (seen_v4_00 || seen_v6_00) - state = BlockingUntunneledTraffic; - else if ((seen_v4_01 && seen_v4_1281) || (seen_v6_01 && seen_v6_80001)) - state = NotBlockingUntunneledTraffic; + if (seen_v4_00 || seen_v6_00) + state = BlockingUntunneledTraffic; + else if ((seen_v4_01 && seen_v4_1281) || (seen_v6_01 && seen_v6_80001)) + state = NotBlockingUntunneledTraffic; done: if (state != this->last_block_state) { @@ -295,7 +295,7 @@ static LRESULT CALLBACK child_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lP switch (Msg) { case WM_CREATE: { struct syntaxedit_data *this = calloc(1, sizeof(*this)); - SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) & ~WS_EX_CLIENTEDGE); + SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) & ~WS_EX_CLIENTEDGE); assert(this); SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)this); SendMessage(hWnd, EM_GETOLEINTERFACE, 0, (LPARAM)&this->irich); |