diff options
author | wishmaster51@gmail.com <wishmaster51@gmail.com@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2012-03-21 11:19:07 +0000 |
---|---|---|
committer | wishmaster51@gmail.com <wishmaster51@gmail.com@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2012-03-21 11:19:07 +0000 |
commit | b8f2c313e8a97116e3ef1b17ddb09ac543fa016f (patch) | |
tree | ca98e898faa16ad5f097c5cd7b29975c96a24ffe /Plugins/utils/mir_buffer.h | |
parent | 0dabb49b6f96aadde130a0c86207ede6c2a757c1 (diff) |
. 0.0.3.0
THIS REQUIRES MIRANDA IM 0.10 ALPHA #3 OR ABOVE!!
+ added x64 version
+ improved unicode support
+ added sounds
+ added more debug information
* save position of avatar history dialog
! fixed crash with empty avatar history
* BMP files are not converted to PNG any more
* fixed Updater support
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@234 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/utils/mir_buffer.h')
-rw-r--r-- | Plugins/utils/mir_buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/utils/mir_buffer.h b/Plugins/utils/mir_buffer.h index 3268f45..c64538b 100644 --- a/Plugins/utils/mir_buffer.h +++ b/Plugins/utils/mir_buffer.h @@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. #include <windows.h>
#include "mir_memory.h"
-#include <m_variables.h>
+#include "m_variables.h"
template<class T>
@@ -102,13 +102,13 @@ static void __bcopy(WCHAR *dest, const WCHAR *orig, size_t len) template<>
static void __bcopy(WCHAR *dest, const char *orig, size_t len)
{
- MultiByteToWideChar(CallService("LangPack/GetCodePage", 0, 0), 0, orig, len, dest, len);
+ MultiByteToWideChar(CallService("LangPack/GetCodePage", 0, 0), 0, orig, (int)len, dest, (int)len);
}
template<>
static void __bcopy(char *dest, const WCHAR *orig, size_t len)
{
- WideCharToMultiByte(CallService("LangPack/GetCodePage", 0, 0), 0, orig, len, dest, len, NULL, NULL);
+ WideCharToMultiByte(CallService("LangPack/GetCodePage", 0, 0), 0, orig, (int)len, dest, (int)len, NULL, NULL);
}
|