From: svenhoefer Date: Sun, 18 Sep 2016 21:03:04 +0000 (+0200) Subject: - shellexec: allow HEIGHT in config to define line height X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=dd8c1ff0329cc6c3dfeae5d0625b0cdcbfd4da13;p=shellexec.git - shellexec: allow HEIGHT in config to define line height --- diff --git a/shellexec.c b/shellexec.c index 99e2506..9c1b166 100644 --- a/shellexec.c +++ b/shellexec.c @@ -478,9 +478,14 @@ FSTRUCT fstr; { sscanf(strchr(line_buffer,'=')+1,"%d",&ixw); } + if(strstr(line_buffer,"HEIGHT=")==line_buffer) + { + sscanf(strchr(line_buffer,'=')+1,"%d",&iyw); + } if(strstr(line_buffer,"HIGHT=")==line_buffer) { sscanf(strchr(line_buffer,'=')+1,"%d",&iyw); + printf("shellexec::Check_Config: please use HEIGHT instead of HIGHT\n"); } if(strstr(line_buffer,"TIMESERVICE=")==line_buffer) {