From 79eaf49ec0af78ebdbc2ad8c951db5bce876749d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Sun, 26 Feb 2017 22:20:30 +0100 Subject: [PATCH] Fix warning in Nuklear with Clang --- deps/nuklear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/nuklear.h b/deps/nuklear.h index f9c7ef54..0811e79c 100644 --- a/deps/nuklear.h +++ b/deps/nuklear.h @@ -16869,7 +16869,7 @@ nk_panel_end(struct nk_context *ctx) if (nk_input_is_mouse_down(in, NK_BUTTON_LEFT) && left_mouse_down && left_mouse_click_in_scaler) { float delta_x = in->mouse.delta.x; if (layout->flags & NK_WINDOW_SCALE_LEFT) { - delta_x =- delta_x; + delta_x = -delta_x; window->bounds.x += in->mouse.delta.x; } window->bounds.w = NK_MAX(window_size.x, window->bounds.w + delta_x);