From 57eda120c8c612d0a7785d8ba65de7924b7b867f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Jun 2012 19:35:11 +0000 Subject: mirVersion cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/IRCG/input.cpp') diff --git a/protocols/IRCG/input.cpp b/protocols/IRCG/input.cpp index a6724359e0..bdcedaae82 100644 --- a/protocols/IRCG/input.cpp +++ b/protocols/IRCG/input.cpp @@ -174,7 +174,7 @@ CMString CIrcProto::DoIdentifiers( CMString text, const TCHAR* ) ReplaceString( text, _T("%network"), m_info.sNetwork.c_str()); ReplaceString( text, _T("%me"), m_info.sNick.c_str()); - mir_sntprintf( str, SIZEOF(str), _T("%d.%d.%d.%d"),(mirVersion>>24)&0xFF,(mirVersion>>16)&0xFF,(mirVersion>>8)&0xFF,mirVersion&0xFF); + mir_sntprintf( str, SIZEOF(str), _T("%d.%d.%d.%d"), MIRANDA_VERSION_FILEVERSION); ReplaceString(text, _T("%mirver"), str); ReplaceString(text, _T("%version"), _T(__VERSION_STRING)); -- cgit v1.2.3