diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
commit | 159b565b390687258ee65a3b66596e118752063c (patch) | |
tree | 91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/FloatingContacts/src/filedrop.cpp | |
parent | 7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff) |
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FloatingContacts/src/filedrop.cpp')
-rw-r--r-- | plugins/FloatingContacts/src/filedrop.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/FloatingContacts/src/filedrop.cpp b/plugins/FloatingContacts/src/filedrop.cpp index ff1cb937e9..7a0f40adfc 100644 --- a/plugins/FloatingContacts/src/filedrop.cpp +++ b/plugins/FloatingContacts/src/filedrop.cpp @@ -217,8 +217,8 @@ static int CountFiles( char *szItem ) if ( fd.dwFileAttributes == FILE_ATTRIBUTE_DIRECTORY )
{
// Skip parent directories
- if (( 0 != strcmp( fd.cFileName, "." )) &&
- ( 0 != strcmp( fd.cFileName, ".." )) )
+ if (( 0 != mir_strcmp( fd.cFileName, "." )) &&
+ ( 0 != mir_strcmp( fd.cFileName, ".." )) )
{
char szDirName[MAX_PATH];
strncpy( szDirName, szItem, MAX_PATH - 1);
@@ -259,8 +259,8 @@ static void SaveFiles( char *szItem, char **ppFiles, int *pnCount ) if ( fd.dwFileAttributes == FILE_ATTRIBUTE_DIRECTORY )
{
// Skip parent directories
- if (( 0 != strcmp( fd.cFileName, "." )) &&
- ( 0 != strcmp( fd.cFileName, ".." )) )
+ if (( 0 != mir_strcmp( fd.cFileName, "." )) &&
+ ( 0 != mir_strcmp( fd.cFileName, ".." )) )
{
char szDirName[MAX_PATH];
strncpy( szDirName, szItem, MAX_PATH - 1);
|