From 93bdb67b0cdc5e36a6534c074cb9d0b56f7e5de3 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 12 Apr 2017 13:28:54 +0200 Subject: [PATCH] settings: fix calculation for SCROLLBAR_WIDTH ... to work with subtractions too Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8bfee0b7dcdd689c953019db733909a64497f283 Author: vanhofen Date: 2017-04-12 (Wed, 12 Apr 2017) Origin message was: ------------------ - settings: fix calculation for SCROLLBAR_WIDTH ... to work with subtractions too ------------------ This commit was generated by Migit --- src/system/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/settings.h b/src/system/settings.h index 520ae7809..fa2ec6e94 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -920,7 +920,7 @@ const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_CO #define OFFSET_INNER_MIN 2 #define OFFSET_INNER_NONE 0 -#define SCROLLBAR_WIDTH OFFSET_INNER_MID + 2*OFFSET_INNER_MIN +#define SCROLLBAR_WIDTH (OFFSET_INNER_MID + 2*OFFSET_INNER_MIN) #define DETAILSLINE_WIDTH 16 // TODO: scale2Res() ?