diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2011-03-22 03:29:51 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2011-03-22 03:29:51 +0200 |
commit | edf0d7a9790d958023fe5280f0ee2097e2b4d7f5 (patch) | |
tree | de85c2937359d120298975677c760a822c49d108 /utilities.cpp | |
parent | 6fc50b0001b4edb38f1a6d194a43d5622a0a0f94 (diff) |
modified: utilities.cpp
Diffstat (limited to 'utilities.cpp')
-rw-r--r-- | utilities.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utilities.cpp b/utilities.cpp index 0ba8e12..3168f7f 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -439,10 +439,10 @@ int onSendFile(WPARAM w, LPARAM l) } } } -// mir_free(file[i]); -// file[i] = mir_tstrdup(path_out.c_str()); - mir_realloc(file[i], path_out.length()*sizeof(TCHAR)+1); - _tcscpy(file[i], path_out.c_str()); + mir_free(file[i]); + file[i] = mir_tstrdup(path_out.c_str()); +// mir_realloc(file[i], path_out.length()*sizeof(TCHAR)+1); +// _tcscpy(file[i], path_out.c_str()); delete [] file_out; transfers.push_back(path_out); } |