Changed Time without Format= to default to "%H:%M:%S"

This commit is contained in:
Birunthan Mohanathas 2012-04-07 20:05:16 +03:00
parent 38ca3fc08c
commit 0f79d8317c

View File

@ -201,13 +201,13 @@ const WCHAR* CMeasureTime::GetStringValue(AUTOSCALE autoScale, double scale, int
{ {
TimeToString(tmpSz, MAX_LINE_LENGTH, format, &today); TimeToString(tmpSz, MAX_LINE_LENGTH, format, &today);
} }
return CheckSubstitute(tmpSz);
} }
else else
{ {
return CMeasure::GetStringValue(autoScale, scale, decimals, percentual); TimeToString(tmpSz, MAX_LINE_LENGTH, L"%H:%M:%S", &today);
} }
return CheckSubstitute(tmpSz);
} }
/* /*