diff --git a/win/tkWinDraw.c b/win/tkWinDraw.c index d2f4355bc..d126145a9 100644 --- a/win/tkWinDraw.c +++ b/win/tkWinDraw.c @@ -1520,7 +1520,7 @@ TkWinDrawDottedRect( dc = TkWinGetDrawableDC(disp, d, &state); lb.lbStyle = BS_SOLID; - lb.lbColor = pixel < 0 ? : RGB(0, 0, 0) : (COLORREF)pixel; + lb.lbColor = pixel < 0 ? RGB(0, 0, 0) : (COLORREF)pixel; lb.lbHatch = 0; if (pixel < 0) {