Robert Shearman : wcmd: Use PACKAGE_VERSION as the wcmd version.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 20 06:17:42 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 6291ad6ca1883aaa328a0ad14365d7553180c3c7
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6291ad6ca1883aaa328a0ad14365d7553180c3c7
Author: Robert Shearman <rob at codeweavers.com>
Date: Sat Mar 18 16:10:36 2006 +0000
wcmd: Use PACKAGE_VERSION as the wcmd version.
---
programs/wcmd/wcmdmain.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/wcmd/wcmdmain.c b/programs/wcmd/wcmdmain.c
index 644ebc1..6bc9272 100644
--- a/programs/wcmd/wcmdmain.c
+++ b/programs/wcmd/wcmdmain.c
@@ -24,6 +24,7 @@
* - Lots of functionality missing from builtins
*/
+#include "config.h"
#include "wcmd.h"
const char * const inbuilt[] = {"ATTRIB", "CALL", "CD", "CHDIR", "CLS", "COPY", "CTTY",
@@ -38,7 +39,7 @@ DWORD errorlevel;
int echo_mode = 1, verify_mode = 0;
const char nyi[] = "Not Yet Implemented\n\n";
const char newline[] = "\n";
-const char version_string[] = "WCMD Version 0.17\n\n";
+const char version_string[] = "WCMD Version " PACKAGE_VERSION "\n\n";
const char anykey[] = "Press Return key to continue: ";
char quals[MAX_PATH], param1[MAX_PATH], param2[MAX_PATH];
BATCH_CONTEXT *context = NULL;
More information about the wine-cvs
mailing list