summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Tox/src/tox_proto.cpp5
-rw-r--r--protocols/Tox/src/version.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index 0134ccfa58..5b05d878c2 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -226,6 +226,11 @@ int CToxProto::OnEvent(PROTOEVENTTYPE iEventType, WPARAM wParam, LPARAM lParam)
case EV_PROTO_ONMENU:
return OnInitStatusMenu();
+
+ case EV_PROTO_ONERASE:
+ ptrW profilePath(GetToxProfilePath());
+ _wunlink(profilePath);
+ break;
}
return 1;
diff --git a/protocols/Tox/src/version.h b/protocols/Tox/src/version.h
index f4cc68dc8a..f550817bbc 100644
--- a/protocols/Tox/src/version.h
+++ b/protocols/Tox/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 11
#define __RELEASE_NUM 1
-#define __BUILD_NUM 24
+#define __BUILD_NUM 25
#include <stdver.h>