From 0aec4e85f7d4c3b6e952b4d930d7fbbf99d06a9e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 19 Aug 2017 09:36:07 +0200 Subject: [PATCH] - scale user's Txxxx-values to resolution --- msgbox.c | 2 +- text.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/msgbox.c b/msgbox.c index eb00119..85229ca 100644 --- a/msgbox.c +++ b/msgbox.c @@ -17,7 +17,7 @@ typeof (b) __b = (b); \ __a > __b ? __a : __b; }) -#define M_VERSION 2.03 +#define M_VERSION 2.04 #define NCF_FILE "/var/tuxbox/config/neutrino.conf" #define HDF_FILE "/tmp/.msgbox_hidden" diff --git a/text.c b/text.c index 4e1fc88..83cf34d 100644 --- a/text.c +++ b/text.c @@ -455,7 +455,7 @@ int RenderString(char *string, int _sx, int _sy, int maxwidth, int layout, int s if(sscanf(rptr+1,"%4d",&i)==1) { rptr+=4; - _sx=i; // scale2res() here too? + _sx=scale2res(i); } break; } -- 2.39.5