diff options
| author | George Hazan <george.hazan@gmail.com> | 2015-08-28 16:22:41 +0000 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2015-08-28 16:22:41 +0000 |
| commit | c370af60855db957c5b200914bf0bde743845528 (patch) | |
| tree | 0bd2ef127097c9e937c2650e8b202c3f09453323 /protocols/Xfire/src/userdetails.cpp | |
| parent | 7f082bd5d4865c30b313661b7a02f048b4b137be (diff) | |
mir_sntprintf / mir_snprintf: obsoleted second parameter removed wherever possible
git-svn-id: http://svn.miranda-ng.org/main/trunk@15064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/userdetails.cpp')
| -rw-r--r-- | protocols/Xfire/src/userdetails.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/userdetails.cpp b/protocols/Xfire/src/userdetails.cpp index aa4de637c3..9adabebebc 100644 --- a/protocols/Xfire/src/userdetails.cpp +++ b/protocols/Xfire/src/userdetails.cpp @@ -45,7 +45,7 @@ void LoadProfilStatus(void *arg) //dl
char url[255];
- mir_snprintf(url, _countof(url), "http://miniprofile.xfire.com/bg/sh/type/1/%s.png", fname);
+ mir_snprintf(url, "http://miniprofile.xfire.com/bg/sh/type/1/%s.png", fname);
char* buf = NULL;
unsigned int size = 0;
@@ -66,7 +66,7 @@ void SetItemTxt(HWND hwndDlg, int feldid, char*feld, MCONTACT hcontact, int type if (!db_get(hcontact, protocolname, feld, &dbv)) {
if (type == 1) {
char temp[255];
- mir_snprintf(temp, _countof(temp), "%i", dbv.wVal);
+ mir_snprintf(temp, "%i", dbv.wVal);
SetDlgItemTextA(hwndDlg, feldid, temp);
}
else {
@@ -91,7 +91,7 @@ static int GetIPPortUDetails(MCONTACT hContact, char* feld1, char* feld2) return 0;
char temp[255];
- mir_snprintf(temp, _countof(temp), "%s:%d", dbv.pszVal, db_get_w(hContact, protocolname, feld2, -1));
+ mir_snprintf(temp, "%s:%d", dbv.pszVal, db_get_w(hContact, protocolname, feld2, -1));
db_free(&dbv);
if (OpenClipboard(NULL)) {
|
