From a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Tue, 13 Jan 2009 02:27:04 +0000 Subject: Improved version reporting. Add SVN revision and custom status to version string on Linux. (bzr r7123) --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 89590a5f4..7bbe691d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -69,7 +69,7 @@ #include "inkscape-private.h" #include "inkscape-stock.h" -#include "inkscape_version.h" +#include "inkscape-version.h" #include "sp-namedview.h" #include "sp-guide.h" @@ -951,7 +951,7 @@ int sp_main_shell(char const* command_name) gsize sizeLeft = buffer_size - offset; gchar *useme = command_line + offset; - fprintf(stdout, "Inkscape %s interactive shell mode. Type 'quit' to quit.\n", INKSCAPE_VERSION); + fprintf(stdout, "Inkscape %s interactive shell mode. Type 'quit' to quit.\n", Inkscape::version_string); fflush(stdout); char* linedata = 0; do { @@ -1724,7 +1724,7 @@ sp_process_args(poptContext ctx) break; } case SP_ARG_VERSION: { - printf("Inkscape %s (%s)\n", INKSCAPE_VERSION, __DATE__); + printf("Inkscape %s (%s)\n", Inkscape::version_string, __DATE__); exit(0); break; } -- cgit v1.2.3