From 6bc36c6c67fed984af4f60224a7ea693d1b7d217 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Wed, 20 Apr 2005 16:18:03 +0000 Subject: Move variable declaration to top. Makes gcc2 happy. --- util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 008792c..f718dbd 100644 --- a/util.c +++ b/util.c @@ -76,6 +76,7 @@ XeditPrintf(const char *format, ...) va_list va, va2; XawTextBlock text; + XawTextPosition pos; va_start(va, format); @@ -92,7 +93,7 @@ XeditPrintf(const char *format, ...) va_end(va); - XawTextPosition pos = XawTextSourceScan(XawTextGetSource(messwidget), + pos = XawTextSourceScan(XawTextGetSource(messwidget), 0, XawstAll, XawsdRight, 1, True); text.length = strlen(str); -- cgit v1.2.3