1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

wmiv: align version with wm

Use wm version for the wmiv util.
This commit is contained in:
David Maciejak
2023-03-13 21:22:48 +08:00
committed by Carlos R. Mafra
parent 0ecf7d3540
commit 0a55facac0

View File

@@ -63,8 +63,6 @@ RImage *img;
Pixmap pix;
const char *APPNAME = "wmiv";
int APPVERSION_MAJOR = 0;
int APPVERSION_MINOR = 7;
int NEXT = 0;
int PREV = 1;
float zoom_factor = 0;
@@ -740,7 +738,7 @@ int main(int argc, char **argv)
argv[0]);
return EXIT_SUCCESS;
case 'v':
fprintf(stderr, "%s version %d.%d\n", APPNAME, APPVERSION_MAJOR, APPVERSION_MINOR);
printf("%s version %s\n", APPNAME, VERSION);
return EXIT_SUCCESS;
case '?':
return EXIT_FAILURE;