summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_packet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_packet.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_packet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_packet.cpp b/protocols/IcqOscarJ/src/icq_packet.cpp
index 79241cf297..0a727cc5aa 100644
--- a/protocols/IcqOscarJ/src/icq_packet.cpp
+++ b/protocols/IcqOscarJ/src/icq_packet.cpp
@@ -572,9 +572,9 @@ void CIcqProto::ppackTLVDateFromDB(PBYTE *buf, int *buflen, const char *szSettin
SYSTEMTIME sTime = {0};
double time = 0;
- sTime.wYear = getSettingWord(NULL, szSettingYear, 0);
- sTime.wMonth = getSettingByte(NULL, szSettingMonth, 0);
- sTime.wDay = getSettingByte(NULL, szSettingDay, 0);
+ sTime.wYear = getWord(szSettingYear, 0);
+ sTime.wMonth = getByte(szSettingMonth, 0);
+ sTime.wDay = getByte(szSettingDay, 0);
if (sTime.wYear || sTime.wMonth || sTime.wDay)
{
SystemTimeToVariantTime(&sTime, &time);