| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/zimg/files/ |
Upload File : |
--- zimg.c.orig Sat Aug 27 21:46:20 2005
+++ zimg.c Sat Aug 27 23:04:13 2005
@@ -2147,6 +2147,8 @@
for (current = z.label; current; current = current->next) {
+ int width, height;
+
int x = current->x;
int y = current->y;
@@ -2160,8 +2162,8 @@
continue;
}
- int width = brect[2] - brect[6];
- int height = brect[3] - brect[7];
+ width = brect[2] - brect[6];
+ height = brect[3] - brect[7];
/* if label.x or label.y are positive, do NOT make any
* check, if the text will be entirely on the image */