summaryrefslogtreecommitdiff
path: root/src/core/miranda.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-16 12:19:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-16 12:19:24 +0000
commitac7bf920f219a7aed7eb163c8b3195e66c12e4da (patch)
treee0ac11ce212c61ac5ebe0e90f32853f71ac44f96 /src/core/miranda.cpp
parentaafecc66f4056279e5ddccf7804b147b54167612 (diff)
fix for menu items' translation in the editor
git-svn-id: http://svn.miranda-ng.org/main/trunk@445 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/miranda.cpp')
-rw-r--r--src/core/miranda.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp
index fcb367dcbd..3798a54710 100644
--- a/src/core/miranda.cpp
+++ b/src/core/miranda.cpp
@@ -761,11 +761,11 @@ static INT_PTR GetMirandaVersionText(WPARAM wParam, LPARAM lParam)
pVerInfo=mir_alloc(verInfoSize);
GetFileVersionInfo(filename, 0, verInfoSize, pVerInfo);
VerQueryValue(pVerInfo, _T("\\StringFileInfo\\000004b0\\ProductVersion"), (LPVOID*)&productVersion, &blockSize);
-#if defined( _WIN64 )
- mir_snprintf(( char* )lParam, wParam, "%S x64 Unicode", productVersion );
-#else defined( _UNICODE )
- mir_snprintf(( char* )lParam, wParam, "%S Unicode", productVersion );
-#endif
+ #if defined( _WIN64 )
+ mir_snprintf(( char* )lParam, wParam, "%S x64 Unicode", productVersion );
+ #else
+ mir_snprintf(( char* )lParam, wParam, "%S Unicode", productVersion );
+ #endif
mir_free(pVerInfo);
return 0;
}