]> git.webhop.me Git - msgbox.git/commitdiff
- scale user's Txxxx-values to resolution
authorvanhofen <vanhofen@gmx.de>
Sat, 19 Aug 2017 07:36:07 +0000 (09:36 +0200)
committerJacek Jendrzej <satbaby@kawaii.com>
Sun, 20 Aug 2017 17:40:41 +0000 (19:40 +0200)
msgbox.c
text.c

index eb00119534cbbd3988b0ce81bb96d73099c7d4ec..85229ca4bd52c89dc78bc0c0ecd7431b1394ea8c 100644 (file)
--- 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 4e1fc88e42bb64f476c764d8baaeb782128e3230..83cf34de99ebd6017931c00b56b9e5515ca10c35 100644 (file)
--- 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;
                        }