diff options
Diffstat (limited to 'fiv-jpegcrop.c')
-rw-r--r-- | fiv-jpegcrop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fiv-jpegcrop.c b/fiv-jpegcrop.c index fad0c22..f19ff74 100644 --- a/fiv-jpegcrop.c +++ b/fiv-jpegcrop.c @@ -397,7 +397,8 @@ main(int argc, char *argv[]) gboolean initialized = gtk_init_with_args( &argc, &argv, " - Lossless JPEG cropper", options, NULL, &error); if (show_version) { - printf("fiv-jpegcrop " PROJECT_VERSION "\n"); + const char *version = PROJECT_VERSION; + printf("%s %s\n", "fiv-jpegcrop", &version[*version == 'v']); return 0; } if (!initialized) |