summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-14 14:31:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-14 14:31:39 +0000
commitaa090255cfc30e3aeef7e2ed8d1c8eac3e477cdb (patch)
treeb4e4653276536c993e4b55a46a023f0e59831168 /plugins/AVS/src/main.cpp
parentfd8eefffc4b86f389c72e9cb88cf34533c759657 (diff)
fix: various problems with memory
git-svn-id: http://svn.miranda-ng.org/main/trunk@4025 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/src/main.cpp')
-rw-r--r--plugins/AVS/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp
index 2cc5b49c40..ca1f696a64 100644
--- a/plugins/AVS/src/main.cpp
+++ b/plugins/AVS/src/main.cpp
@@ -914,7 +914,7 @@ INT_PTR avSetAvatar(HANDLE hContact, TCHAR* tszPath)
}
INT_PTR SetAvatar(WPARAM wParam, LPARAM lParam)
-{ return avSetAvatar(( HANDLE )wParam, A2T(( const char* )lParam ));
+{ return avSetAvatar(( HANDLE )wParam, _A2T(( const char* )lParam ));
}
INT_PTR SetAvatarW(WPARAM wParam, LPARAM lParam)
@@ -1461,7 +1461,7 @@ INT_PTR avSetMyAvatar( char* protocol, TCHAR* tszPath )
}
static INT_PTR SetMyAvatar( WPARAM wParam, LPARAM lParam )
-{ return avSetMyAvatar(( char* )wParam, A2T(( const char* )lParam ));
+{ return avSetMyAvatar(( char* )wParam, _A2T(( const char* )lParam ));
}
static INT_PTR SetMyAvatarW( WPARAM wParam, LPARAM lParam )