summaryrefslogtreecommitdiff
path: root/utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utilities.cpp')
-rw-r--r--utilities.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/utilities.cpp b/utilities.cpp
index 5f1ad0a..8320d93 100644
--- a/utilities.cpp
+++ b/utilities.cpp
@@ -403,9 +403,7 @@ static JABBER_HANDLER_FUNC SendHandler(IJabberInterface *ji, HXML node, void *pU
wstring path_out = path_c;
mir_free(path_c);
path_out += _T("\\prescense_text");
- {
- DeleteFile(path_out.c_str());
- }
+ DeleteFile(path_out.c_str());
wfstream f(path_out.c_str(), std::ios::out);
char *tmp = mir_utf8encodeW(str);
f<<tmp;