diff options
Diffstat (limited to 'plugins/YARelay/src/main.cpp')
-rw-r--r-- | plugins/YARelay/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index a87eafb9a6..9539f80349 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -158,13 +158,13 @@ static int MessageEventAdded(WPARAM hContact, LPARAM hDBEvent) if (ci.type == CNFT_ASCIIZ)
_tcsncpy_s(buf, ci.pszVal, _TRUNCATE);
else if (ci.type == CNFT_BYTE)
- mir_sntprintf(buf, SIZEOF(buf), _T("%u"), ci.bVal);
+ mir_sntprintf(buf, _T("%u"), ci.bVal);
else if (ci.type == CNFT_WORD)
- mir_sntprintf(buf, SIZEOF(buf), _T("%u"), ci.wVal);
+ mir_sntprintf(buf, _T("%u"), ci.wVal);
else if (ci.type == CNFT_DWORD)
- mir_sntprintf(buf, SIZEOF(buf), _T("%u"), ci.dVal);
+ mir_sntprintf(buf, _T("%u"), ci.dVal);
}
- else mir_sntprintf(buf, SIZEOF(buf), _T("%p"), hContact);
+ else mir_sntprintf(buf, _T("%p"), hContact);
}
szUtfMsg.append(T2Utf(buf));
break;
|