From acc76aa8696c65aff36a7c60918040c2b2636c0b Mon Sep 17 00:00:00 2001 From: frese Date: Wed, 19 Jun 2002 08:45:33 +0000 Subject: [PATCH] - fixed the fix in scx_extents_text :-( --- c/xlib/text.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/c/xlib/text.c b/c/xlib/text.c index e7877c3..324cefc 100644 --- a/c/xlib/text.c +++ b/c/xlib/text.c @@ -37,12 +37,11 @@ s48_value scx_Text_Width(s48_value Xfontstruct, s48_value text, s48_value scx_Extents_Text (s48_value Xfontstruct, s48_value text, s48_value format, s48_value which){ - int len = (int)S48_VECTOR_LENGTH(text) + int len = (int)S48_VECTOR_LENGTH(text), i, tmp, dir, fasc, fdesc; char s[len]; XChar2b s2[len]; XFontStruct* font = SCX_EXTRACT_FONTSTRUCT(Xfontstruct); XCharStruct CI; - int i, tmp, dir, fasc, fdesc; if (s48_extract_integer(format) == 1){ for (i = 0; i < len; i++){ tmp = (int)s48_extract_integer(S48_VECTOR_REF(text, i));