summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src/list.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-14 11:40:27 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-14 11:40:27 +0000
commitbf7494126f2ce1f6de9fda7ea1de0d02809be131 (patch)
tree00724c8e5ae52910224930de05beb6e4feb12926 /plugins/WhoUsesMyFiles/src/list.cpp
parent829c4ca618d393e194f075d641a55c75a58dfa66 (diff)
plusification
git-svn-id: http://svn.miranda-ng.org/main/trunk@4020 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/list.cpp')
-rw-r--r--plugins/WhoUsesMyFiles/src/list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WhoUsesMyFiles/src/list.cpp b/plugins/WhoUsesMyFiles/src/list.cpp
index 1e52e12e4d..1f635837ca 100644
--- a/plugins/WhoUsesMyFiles/src/list.cpp
+++ b/plugins/WhoUsesMyFiles/src/list.cpp
@@ -16,7 +16,7 @@ PWumf new_wumf( DWORD dwID,
if(!w)return NULL;
#define SCPY(X) if(X){w->X = (LPSTR)malloc(1+strlen(X));if(!w->X)return NULL;strcpy(w->X, X);} else { w->X = NULL;}
- #define SCPYW(X) if(X){w->X = (LPSTR)malloc(1+lstrlenW(X));if(!w->X)return NULL;wsprintfA(w->X, "%S", X);} else { w->X = NULL;}
+ #define SCPYW(X) if(X){w->X = (LPSTR)malloc(1+lstrlenW((LPWSTR)X));if(!w->X)return NULL;wsprintfA(w->X, "%S", X);} else { w->X = NULL;}
#define SCCPY(X, Y) w->X = (LPSTR)malloc(1+strlen(Y));if(!w->X)return NULL;strcpy(w->X, Y)