Divan Burger : comdlg32: Fix bug where the colour graph' s cross is not painted.

Alexandre Julliard julliard at winehq.org
Wed Jan 9 07:02:10 CST 2008


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

Author: Divan Burger <divan.burger at gmail.com>
Date:   Mon Jan  7 18:08:07 2008 +0200

comdlg32: Fix bug where the colour graph's cross is not painted.

---

 dlls/comdlg32/colordlg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comdlg32/colordlg.c b/dlls/comdlg32/colordlg.c
index aa56ebf..a955650 100644
--- a/dlls/comdlg32/colordlg.c
+++ b/dlls/comdlg32/colordlg.c
@@ -1075,10 +1075,10 @@ LRESULT CC_WMPaint( HWND hDlg, WPARAM wParam, LPARAM lParam )
     CC_PaintPredefColorArray(hDlg, 6, 8);
     CC_PaintUserColorArray(hDlg, 2, 8, lpp->lpcc->lpCustColors);
     CC_PaintLumBar(hDlg, lpp->h, lpp->s);
-    CC_PaintCross(hDlg, lpp->h, lpp->s);
     CC_PaintTriangle(hDlg, lpp->l);
     CC_PaintSelectedColor(hDlg, lpp->lpcc->rgbResult);
     CC_PaintColorGraph(hDlg);
+    CC_PaintCross(hDlg, lpp->h, lpp->s);
     EndPaint(hDlg, &ps);
 
     return TRUE;




More information about the wine-cvs mailing list