diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-01-13 02:27:04 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-01-13 02:27:04 +0000 |
| commit | a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50 (patch) | |
| tree | 9efdab733f1ae2b3580143a0e1c91a934a020712 /src/main.cpp | |
| parent | Latest set of tango icons (by jEsuSdA 8) ) (diff) | |
| download | inkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.tar.gz inkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.zip | |
Improved version reporting. Add SVN revision and custom status to
version string on Linux.
(bzr r7123)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
