gdi32: Add traces for the gamma functions

André Hentschel nerv at dawncrow.de
Sun Sep 25 13:38:31 CDT 2011


and fix a typo
---
 dlls/gdi32/dc.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/dc.c b/dlls/gdi32/dc.c
index 65cc3f7..df54c7c 100644
--- a/dlls/gdi32/dc.c
+++ b/dlls/gdi32/dc.c
@@ -1286,6 +1286,7 @@ BOOL WINAPI GetDeviceGammaRamp(HDC hDC, LPVOID ptr)
     BOOL ret = FALSE;
     DC *dc = get_dc_ptr( hDC );
 
+    TRACE("%p, %p\n");
     if( dc )
     {
         PHYSDEV physdev = GET_DC_PHYSDEV( dc, pGetDeviceGammaRamp );
@@ -1303,6 +1304,7 @@ BOOL WINAPI SetDeviceGammaRamp(HDC hDC, LPVOID ptr)
     BOOL ret = FALSE;
     DC *dc = get_dc_ptr( hDC );
 
+    TRACE("%p, %p\n");
     if( dc )
     {
         PHYSDEV physdev = GET_DC_PHYSDEV( dc, pSetDeviceGammaRamp );
@@ -1317,7 +1319,7 @@ BOOL WINAPI SetDeviceGammaRamp(HDC hDC, LPVOID ptr)
  */
 HCOLORSPACE WINAPI GetColorSpace(HDC hdc)
 {
-/*FIXME    Need to to whatever GetColorSpace actually does */
+/*FIXME    Need to do whatever GetColorSpace actually does */
     return 0;
 }
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list