diff options
Diffstat (limited to '7zip/Bundles/SFXCon/Main.cpp')
-rwxr-xr-x | 7zip/Bundles/SFXCon/Main.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/7zip/Bundles/SFXCon/Main.cpp b/7zip/Bundles/SFXCon/Main.cpp index c7a8a755..3c31b6a5 100755 --- a/7zip/Bundles/SFXCon/Main.cpp +++ b/7zip/Bundles/SFXCon/Main.cpp @@ -27,6 +27,8 @@ #include "../../UI/Console/OpenCallbackConsole.h" #include "../../UI/Console/ExtractCallbackConsole.h" +#include "../../MyVersion.h" + using namespace NWindows; using namespace NFile; using namespace NCommandLineParser; @@ -34,7 +36,7 @@ using namespace NCommandLineParser; extern CStdOutStream *g_StdStream; static const char *kCopyrightString = -"\n7-Zip SFX 4.24 beta Copyright (c) 1999-2005 Igor Pavlov 2005-07-06\n"; +"\n7-Zip SFX " MY_VERSION_COPYRIGHT_DATE "\n"; static const int kNumSwitches = 6; @@ -152,13 +154,6 @@ static const char *kProcessArchiveMessage = " archive: "; static const char *kCantFindSFX = " cannot find sfx"; -// --------------------------- - -static const CSysString kExtractGroupProcessMessage = "Processing"; -static const CSysString kListingProcessMessage = "Listing"; - -static const CSysString kDefaultWorkingDirectory = ""; // test it maybemust be "." - struct CArchiveCommand { NCommandType::EEnum CommandType; @@ -188,7 +183,7 @@ void PrintHelp(void) g_StdOut << kHelpString; } -static void ShowMessageAndThrowException(LPCTSTR message, NExitCode::EEnum code) +static void ShowMessageAndThrowException(const char *message, NExitCode::EEnum code) { g_StdOut << message << endl; throw code; |