diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2019-01-04 17:15:33 +0100 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2019-01-04 17:15:33 +0100 |
commit | f96b0233f29ba674cedfba4cf8d4d31f8b18d710 (patch) | |
tree | 02db69530da5a6d4319e0e67d86701545da0d3a3 | |
parent | 852f2069731585bf9f3e8690553d2765c9ecf0a5 (diff) | |
download | canvas_display.lv2-f96b0233f29ba674cedfba4cf8d4d31f8b18d710.tar.xz |
ui: fix potentially uninitialized variable.
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | canvas_ui.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -0.1.403 +0.1.405 diff --git a/canvas_ui.c b/canvas_ui.c index 8ba88f3..fafd157 100644 --- a/canvas_ui.c +++ b/canvas_ui.c @@ -549,7 +549,7 @@ port_event(LV2UI_Handle instance, uint32_t index, uint32_t size, W = h * handle->aspect_ratio; H = h; } - else if(handle->aspect_ratio > 1.f) + else // handle->aspect_ratio > 1.f { W = w; H = w / handle->aspect_ratio; |