diff options
Diffstat (limited to 'plugins/FloatingContacts/src')
| -rw-r--r-- | plugins/FloatingContacts/src/filedrop.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FloatingContacts/src/filedrop.cpp b/plugins/FloatingContacts/src/filedrop.cpp index 586b1419aa..7a18009333 100644 --- a/plugins/FloatingContacts/src/filedrop.cpp +++ b/plugins/FloatingContacts/src/filedrop.cpp @@ -289,7 +289,7 @@ static void SaveFiles( char *szItem, char **ppFiles, int *pnCount )  				if ( NULL != strstr( szFile, "*.*" ))
  				{
  					szFile[ strlen( szFile ) - 3 ] = '\0';
 -					strncat( szFile, fd.cFileName, MAX_PATH - 1);
 +					strncat(szFile, fd.cFileName, nSize - mir_strlen(szFile));
  				}
  				ppFiles[ *pnCount ] = szFile;
  | 
