summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/filedrop.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-08 11:07:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-08 11:07:26 +0000
commit17e1ffb41fd729e5f65a70255ae83917d16340fc (patch)
tree157f0e2250370b3a49ee8960a9357156ee35d2b0 /plugins/FloatingContacts/src/filedrop.cpp
parent1749350c4ae58f48b034aa373941dcf0edf8c969 (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.cpp4
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 );