X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Frectext.c;h=fd7f38d05d6332294802c1bda755506b21c46b85;hb=3e8db66d56c466a5a269362eb70b4931d9579128;hp=5d04bfb7ecf6e21a2a09ab1d4a3825022c5376f0;hpb=c5f0a119be3ef4af84d7c7f5c028418cc8073d8a;p=idzebra-moved-to-github.git diff --git a/recctrl/rectext.c b/recctrl/rectext.c index 5d04bfb..fd7f38d 100644 --- a/recctrl/rectext.c +++ b/recctrl/rectext.c @@ -1,4 +1,4 @@ -/* $Id: rectext.c,v 1.17 2004-05-14 10:57:42 adam Exp $ +/* $Id: rectext.c,v 1.19 2004-08-06 12:55:03 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -134,7 +134,6 @@ static int text_extract (void *clientData, struct recExtractCtrl *p) static int text_retrieve (void *clientData, struct recRetrieveCtrl *p) { - struct text_info *tinfo = clientData; int r, text_ptr = 0; static char *text_buf = NULL; static int text_size = 0; @@ -184,7 +183,8 @@ static int text_retrieve (void *clientData, struct recRetrieveCtrl *p) sprintf (text_buf, "Rank: %d\n", p->score); text_ptr = strlen(text_buf); } - sprintf (text_buf + text_ptr, "Local Number: %d\n", p->localno); + sprintf (text_buf + text_ptr, "Local Number: " ZINT_FORMAT "\n", + p->localno); text_ptr = strlen(text_buf); if (p->fname) {