summaryrefslogtreecommitdiff
path: root/src/modules/findadd
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/findadd')
-rw-r--r--src/modules/findadd/searchresults.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/findadd/searchresults.cpp b/src/modules/findadd/searchresults.cpp
index f1b149740c..9b8db18ff0 100644
--- a/src/modules/findadd/searchresults.cpp
+++ b/src/modules/findadd/searchresults.cpp
@@ -182,7 +182,7 @@ static void BeginSearchFailed(void * arg)
TCHAR buf[128];
if (arg != NULL) {
const TCHAR* protoName = (TCHAR*)arg;
- mir_sntprintf(buf, SIZEOF(buf),
+ mir_sntprintf(buf,
TranslateT("Could not start a search on '%s', there was a problem - is %s connected?"),
protoName, protoName);
mir_free((char*)arg);