change VERSION to ZINT_VERSION

This commit is contained in:
taipanromania 2008-09-18 14:36:31 +00:00
parent 57e7ab8c89
commit fa21baafce
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ int ps_plot(struct zint_symbol *symbol)
/* Start writing the header */ /* Start writing the header */
fprintf(feps, "%!PS-Adobe-3.0 EPSF-3.0\n"); fprintf(feps, "%!PS-Adobe-3.0 EPSF-3.0\n");
fprintf(feps, "%%%%Creator: Zint %s\n", VERSION); fprintf(feps, "%%%%Creator: Zint %s\n", ZINT_VERSION);
if(strlen(symbol->text) != 0) { if(strlen(symbol->text) != 0) {
fprintf(feps, "%%%%Title: %s\n",symbol->text); fprintf(feps, "%%%%Title: %s\n",symbol->text);
} else { } else {

View File

@ -50,7 +50,7 @@ void usage(void)
" --secure=NUMBER (PDF417 and QR Code) Error correction level.\n" " --secure=NUMBER (PDF417 and QR Code) Error correction level.\n"
" --primary=STRING (Maxicode and Composite) Structured primary message.\n" " --primary=STRING (Maxicode and Composite) Structured primary message.\n"
" --mode=NUMBER (Maxicode and Composite) Set encoding mode.\n" " --mode=NUMBER (Maxicode and Composite) Set encoding mode.\n"
, VERSION); , ZINT_VERSION);
} }
int main(int argc, char **argv) int main(int argc, char **argv)