-/* $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
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;
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)
{