mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 03:15:00 -06:00
4.60 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
173c07e166
commit
c10e6b16f6
@@ -13,7 +13,7 @@ bool MyGetTimeFormat(LCID locale, DWORD flags, CONST SYSTEMTIME *time,
|
||||
{
|
||||
resultString.Empty();
|
||||
int numChars = ::GetTimeFormat(locale, flags, time, format, NULL, 0);
|
||||
if(numChars == 0)
|
||||
if (numChars == 0)
|
||||
return false;
|
||||
numChars = ::GetTimeFormat(locale, flags, time, format,
|
||||
resultString.GetBuffer(numChars), numChars + 1);
|
||||
@@ -26,7 +26,7 @@ bool MyGetDateFormat(LCID locale, DWORD flags, CONST SYSTEMTIME *time,
|
||||
{
|
||||
resultString.Empty();
|
||||
int numChars = ::GetDateFormat(locale, flags, time, format, NULL, 0);
|
||||
if(numChars == 0)
|
||||
if (numChars == 0)
|
||||
return false;
|
||||
numChars = ::GetDateFormat(locale, flags, time, format,
|
||||
resultString.GetBuffer(numChars), numChars + 1);
|
||||
|
||||
Reference in New Issue
Block a user