mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 23:14:54 -06:00
15.05
This commit is contained in:
committed by
Kornel Lesiński
parent
0713a3ab80
commit
54490d51d5
@@ -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.GetBuffer(numChars), numChars + 1);
|
||||
resultString.ReleaseBuffer();
|
||||
resultString.GetBuf(numChars), numChars + 1);
|
||||
resultString.ReleaseBuf_CalcLen(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.GetBuffer(numChars), numChars + 1);
|
||||
resultString.ReleaseBuffer();
|
||||
resultString.GetBuf(numChars), numChars + 1);
|
||||
resultString.ReleaseBuf_CalcLen(numChars);
|
||||
return (numChars != 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user