pdh: Fix two typos.

This commit is contained in:
Hans Leidekker 2007-07-11 22:07:15 +02:00 committed by Alexandre Julliard
parent e1125c48b6
commit b2b4048f7a
1 changed files with 2 additions and 2 deletions

View File

@ -386,12 +386,12 @@ PDH_STATUS WINAPI PdhGetFormattedCounterValue( PDH_HCOUNTER handle, DWORD format
}
else if (format & PDH_FMT_LARGE)
{
if (format & PDH_FMT_1000) value->u.longValue = counter->two.largevalue * 1000;
if (format & PDH_FMT_1000) value->u.largeValue = counter->two.largevalue * 1000;
else value->u.largeValue = counter->two.largevalue * pow( 10, factor );
}
else if (format & PDH_FMT_DOUBLE)
{
if (format & PDH_FMT_1000) value->u.longValue = counter->two.doublevalue * 1000;
if (format & PDH_FMT_1000) value->u.doubleValue = counter->two.doublevalue * 1000;
else value->u.doubleValue = counter->two.doublevalue * pow( 10, factor );
}
else