summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/userinfotab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/userinfotab.cpp')
-rw-r--r--protocols/IcqOscarJ/src/userinfotab.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/userinfotab.cpp b/protocols/IcqOscarJ/src/userinfotab.cpp
index 2f35f7e007..af52cbaef5 100644
--- a/protocols/IcqOscarJ/src/userinfotab.cpp
+++ b/protocols/IcqOscarJ/src/userinfotab.cpp
@@ -232,9 +232,10 @@ static INT_PTR CALLBACK IcqDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
SetValue(ppro, hwndDlg, IDC_STATUS, hContact, szProto, "Status", SVS_STATUSID);
}
else {
- char str[MAX_PATH];
- WORD v[4];
+ MFileVersion v;
Miranda_GetFileVersion(&v);
+
+ char str[MAX_PATH];
mir_snprintf(str, "Miranda NG %d.%d.%d.%d (ICQ %s)", v[0], v[1], v[2], v[3], __VERSION_STRING_DOTS);
SetValue(ppro, hwndDlg, IDC_PORT, hContact, (char*)DBVT_WORD, (char*)ppro->wListenPort, SVS_ZEROISUNSPEC);