diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-08 11:07:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-08 11:07:26 +0000 |
commit | 17e1ffb41fd729e5f65a70255ae83917d16340fc (patch) | |
tree | 157f0e2250370b3a49ee8960a9357156ee35d2b0 /plugins/FloatingContacts/src/filedrop.cpp | |
parent | 1749350c4ae58f48b034aa373941dcf0edf8c969 (diff) |
Floating contacts:
- font settings moved to Options / Customize / Fonts & Colors
- code cleaning;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@3916 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FloatingContacts/src/filedrop.cpp')
-rw-r--r-- | plugins/FloatingContacts/src/filedrop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FloatingContacts/src/filedrop.cpp b/plugins/FloatingContacts/src/filedrop.cpp index eb3b336200..a08a1d7fbe 100644 --- a/plugins/FloatingContacts/src/filedrop.cpp +++ b/plugins/FloatingContacts/src/filedrop.cpp @@ -282,8 +282,8 @@ static void SaveFiles( char *szItem, char **ppFiles, int *pnCount ) }
else
{
- int nSize = sizeof(char) * ( strlen( szItem ) + strlen( fd.cFileName ) + sizeof( char ));
- char *szFile = (char*) malloc( nSize ) ;
+ size_t nSize = sizeof(char) * ( strlen( szItem ) + strlen( fd.cFileName ) + sizeof( char ));
+ char *szFile = (char*) malloc( nSize ) ;
strncpy( szFile, szItem, nSize - 1 );
|