summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/struct.c b/struct.c
index c0a3add..294f498 100644
--- a/struct.c
+++ b/struct.c
@@ -491,8 +491,8 @@ fontMetrics(FontPtr font,
{
int i, rc;
int max_awidth = 0;
- int min_x = 10000 << 16, min_y = 10000 << 16;
- int max_x = -10000 << 16, max_y = -10000 << 16;
+ int min_x = 10000 * 65536, min_y = 10000 * 65536;
+ int max_x = -10000 * 65536, max_y = -10000 * 65536;
for(i = 0; i < FONT_CODES; i++) {
int awidth, x0, y0, x1, y1;
rc = glyphMetrics(font, i, &awidth, &x0, &y0, &x1, &y1);