From b1224491a9de0ad3c35104507ee167f89d8fa76f Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Sat, 25 Jan 2014 09:32:03 +0000
Subject: =?UTF-8?q?=D0=A1++=20sources:=20=5F=5FVERSION=5FSTRING=20->=20=5F?=
 =?UTF-8?q?=5FVERSION=5FSTRING=5FDOTS?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

git-svn-id: http://svn.miranda-ng.org/main/trunk@7881 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/CmdLine/MimCmd/src/MimCmd.cpp         | 2 +-
 plugins/CryptoPP/src/main.cpp                 | 2 +-
 plugins/SecureIM/src/commonheaders.cpp        | 1 -
 plugins/SecureIM/src/commonheaders.h          | 1 -
 plugins/SendScreenshotPlus/src/UAboutForm.cpp | 2 +-
 plugins/YAMN/src/proto/pop3/pop3comm.cpp      | 2 +-
 6 files changed, 4 insertions(+), 6 deletions(-)

(limited to 'plugins')

diff --git a/plugins/CmdLine/MimCmd/src/MimCmd.cpp b/plugins/CmdLine/MimCmd/src/MimCmd.cpp
index 2468f3f284..90a66d5c36 100644
--- a/plugins/CmdLine/MimCmd/src/MimCmd.cpp
+++ b/plugins/CmdLine/MimCmd/src/MimCmd.cpp
@@ -69,7 +69,7 @@ void ShowVersion()
 	char name[128];
 	char message[1024];
 	GetProgramName(name, sizeof(name));
-	mir_snprintf(message, sizeof(message), Translate("%s version %s"), name, __FILEVERSION_STRING);
+	mir_snprintf(message, sizeof(message), Translate("%s version %s"), name, __VERSION_STRING_DOTS);
 
 	lpprintf("%s\n", message);
 }
diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp
index ae447897f6..62f800df51 100644
--- a/plugins/CryptoPP/src/main.cpp
+++ b/plugins/CryptoPP/src/main.cpp
@@ -2,7 +2,7 @@
 
 int hLangpack;
 LPCSTR szModuleName = MODULENAME;
-LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING")";
+LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING_DOTS")";
 HINSTANCE g_hInst;
 
 HANDLE hPGPPRIV = NULL;
diff --git a/plugins/SecureIM/src/commonheaders.cpp b/plugins/SecureIM/src/commonheaders.cpp
index 97f2f5f13f..de3173403e 100644
--- a/plugins/SecureIM/src/commonheaders.cpp
+++ b/plugins/SecureIM/src/commonheaders.cpp
@@ -2,7 +2,6 @@
 
 HINSTANCE g_hInst, g_hIconInst;
 
-LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING")";
 char TEMP[MAX_PATH];
 int  TEMP_SIZE = 0;
 
diff --git a/plugins/SecureIM/src/commonheaders.h b/plugins/SecureIM/src/commonheaders.h
index 1485484f3d..9396b9426d 100644
--- a/plugins/SecureIM/src/commonheaders.h
+++ b/plugins/SecureIM/src/commonheaders.h
@@ -74,7 +74,6 @@
 
 #define MODULENAME "SecureIM"
 
-extern LPCSTR szVersionStr;
 extern char TEMP[MAX_PATH];
 extern int  TEMP_SIZE;
 
diff --git a/plugins/SendScreenshotPlus/src/UAboutForm.cpp b/plugins/SendScreenshotPlus/src/UAboutForm.cpp
index ce7eaadf74..7fe37b58c5 100644
--- a/plugins/SendScreenshotPlus/src/UAboutForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UAboutForm.cpp
@@ -97,7 +97,7 @@ LRESULT TfrmAbout::wmInitdialog(WPARAM wParam, LPARAM lParam) {
 	LPTSTR pszTitle = NULL;
 	// Headerbar
 	LPTSTR pszPlug = mir_a2t(__PLUGIN_NAME);
-	LPTSTR pszVer  = mir_a2t(__VERSION_STRING);
+	LPTSTR pszVer  = mir_a2t(__VERSION_STRING_DOTS);
 	GetDlgItemText( m_hWnd, IDC_HEADERBAR, oldTitle, SIZEOF( oldTitle ));
 	mir_sntprintf( newTitle, SIZEOF(newTitle), oldTitle, pszPlug, pszVer );
 	mir_freeAndNil(pszPlug);
diff --git a/plugins/YAMN/src/proto/pop3/pop3comm.cpp b/plugins/YAMN/src/proto/pop3/pop3comm.cpp
index f20534aa75..16bbafd65a 100644
--- a/plugins/YAMN/src/proto/pop3/pop3comm.cpp
+++ b/plugins/YAMN/src/proto/pop3/pop3comm.cpp
@@ -123,7 +123,7 @@ HYAMNPROTOPLUGIN POP3Plugin			= NULL;
 YAMN_PROTOREGISTRATION POP3ProtocolRegistration =
 {
 	"POP3 protocol (internal)",
-	__VERSION_STRING,
+	__VERSION_STRING_DOTS,
 	__COPYRIGHT,
 	__DESCRIPTION,
 	__AUTHOREMAIL,
-- 
cgit v1.2.3