From: vanhofen Date: Sat, 19 Aug 2017 07:36:07 +0000 (+0200) Subject: - scale user's Txxxx-values to resolution X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=0aec4e85f7d4c3b6e952b4d930d7fbbf99d06a9e;p=msgbox.git - scale user's Txxxx-values to resolution --- 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; }