mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
wmiv: align version with wm
Use wm version for the wmiv util.
This commit is contained in:
committed by
Carlos R. Mafra
parent
0ecf7d3540
commit
0a55facac0
@@ -63,8 +63,6 @@ RImage *img;
|
|||||||
Pixmap pix;
|
Pixmap pix;
|
||||||
|
|
||||||
const char *APPNAME = "wmiv";
|
const char *APPNAME = "wmiv";
|
||||||
int APPVERSION_MAJOR = 0;
|
|
||||||
int APPVERSION_MINOR = 7;
|
|
||||||
int NEXT = 0;
|
int NEXT = 0;
|
||||||
int PREV = 1;
|
int PREV = 1;
|
||||||
float zoom_factor = 0;
|
float zoom_factor = 0;
|
||||||
@@ -740,7 +738,7 @@ int main(int argc, char **argv)
|
|||||||
argv[0]);
|
argv[0]);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
case 'v':
|
case 'v':
|
||||||
fprintf(stderr, "%s version %d.%d\n", APPNAME, APPVERSION_MAJOR, APPVERSION_MINOR);
|
printf("%s version %s\n", APPNAME, VERSION);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
case '?':
|
case '?':
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|||||||
Reference in New Issue
Block a user