diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-16 12:19:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-16 12:19:24 +0000 |
commit | ac7bf920f219a7aed7eb163c8b3195e66c12e4da (patch) | |
tree | e0ac11ce212c61ac5ebe0e90f32853f71ac44f96 /src/core/miranda.cpp | |
parent | aafecc66f4056279e5ddccf7804b147b54167612 (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.cpp | 10 |
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;
}
|