From 0e1ee0d3f027489c978e27ed5ed3572067234a61 Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 22 Sep 2006 08:55:57 +0000 Subject: portage WIN32 --- src/ivy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ivy.c') diff --git a/src/ivy.c b/src/ivy.c index f9d5f23..270711c 100644 --- a/src/ivy.c +++ b/src/ivy.c @@ -918,12 +918,13 @@ static void substituteInterval (IvyBuffer *src) if (strstr (src->data, "(?I") == NULL) { return; } else { + char *curPos; + char *itvPos; IvyBuffer dst = {NULL, 0, 0}; dst.size = 8192; dst.data = malloc (dst.size); - char *curPos = src->data; - char *itvPos; + curPos = src->data; while ((itvPos = strstr (curPos, "(?I")) != NULL) { // copie depuis la position courante jusqu'à l'intervalle int lenCp, min,max; -- cgit v1.1