mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 19:14:56 -06:00
23.01
This commit is contained in:
@@ -16,8 +16,8 @@ bool MyGetTimeFormat(LCID locale, DWORD flags, CONST SYSTEMTIME *time,
|
||||
if (numChars == 0)
|
||||
return false;
|
||||
numChars = ::GetTimeFormat(locale, flags, time, format,
|
||||
resultString.GetBuf(numChars), numChars + 1);
|
||||
resultString.ReleaseBuf_CalcLen(numChars);
|
||||
resultString.GetBuf((unsigned)numChars), numChars + 1);
|
||||
resultString.ReleaseBuf_CalcLen((unsigned)numChars);
|
||||
return (numChars != 0);
|
||||
}
|
||||
|
||||
@@ -29,8 +29,8 @@ bool MyGetDateFormat(LCID locale, DWORD flags, CONST SYSTEMTIME *time,
|
||||
if (numChars == 0)
|
||||
return false;
|
||||
numChars = ::GetDateFormat(locale, flags, time, format,
|
||||
resultString.GetBuf(numChars), numChars + 1);
|
||||
resultString.ReleaseBuf_CalcLen(numChars);
|
||||
resultString.GetBuf((unsigned)numChars), numChars + 1);
|
||||
resultString.ReleaseBuf_CalcLen((unsigned)numChars);
|
||||
return (numChars != 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user