Hans Leidekker : pdh: Fix two typos.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 12 08:32:23 CDT 2007


Module: wine
Branch: master
Commit: b2b4048f7a926018802784bc27500f1d830db362
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b2b4048f7a926018802784bc27500f1d830db362

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Wed Jul 11 22:07:15 2007 +0200

pdh: Fix two typos.

---

 dlls/pdh/pdh_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c
index d6149eb..238bf16 100644
--- a/dlls/pdh/pdh_main.c
+++ b/dlls/pdh/pdh_main.c
@@ -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




More information about the wine-cvs mailing list