Skip to content

Commit

Permalink
use stderr for printing leptonica version
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Feb 4, 2025
1 parent 6019f5f commit 691c283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jbig2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ main(int argc, char **argv) {

char *versionStrP;
versionStrP = getLeptonicaVersion();
printf(" %s\n", versionStrP);
fprintf(stderr, " %s\n", versionStrP);
lept_free(versionStrP);

versionStrP = getImagelibVersions();
printf(" %s\n", versionStrP);
fprintf(stderr, " %s\n", versionStrP);
lept_free(versionStrP);
return 0;
}
Expand Down

0 comments on commit 691c283

Please sign in to comment.