aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/syntax
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-13 18:11:32 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-13 18:19:12 +0200
commit47480711e57ea714fb34202457eae9e839679e42 (patch)
tree5b485400ad3a4fad584c541b84a109d7cfe0a780 /ui/syntax
parentbuild: actually set cflags (diff)
downloadwireguard-windows-47480711e57ea714fb34202457eae9e839679e42.tar.xz
wireguard-windows-47480711e57ea714fb34202457eae9e839679e42.zip
ui: syntax: fix indentation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/syntax')
-rw-r--r--ui/syntax/syntaxedit.c10
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);