]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
central version.h. the build system could overwrite it...
[chaz/tint2] / src / tint.c
index a6065465754f380e28a1dbe83c2f7c712fe9d7d8..c95c3171a2e823063a2db8c674029dc7aa722283 100644 (file)
@@ -31,6 +31,7 @@
 #include <Imlib2.h>
 #include <signal.h>
 
+#include "version.h"
 #include "server.h"
 #include "window.h"
 #include "config.h"
@@ -59,7 +60,7 @@ void init (int argc, char *argv[])
                        exit(0);
                }
                if (!strcmp(argv[i], "-v") || !strcmp(argv[i], "--version"))    {
-                       printf("tint2 version 0.8\n");
+                       printf("tint2 version %s\n", VERSION_STRING);
                        exit(0);
                }
                if (!strcmp(argv[i], "-c")) {
This page took 0.021647 seconds and 4 git commands to generate.