central version.h. the build system could overwrite it...
git-svn-id: http://tint2.googlecode.com/svn/trunk@353 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user