summaryrefslogtreecommitdiffstats
path: root/win/tkWinColor.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinColor.c')
-rw-r--r--win/tkWinColor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinColor.c b/win/tkWinColor.c
index d3b3cad..088c216 100644
--- a/win/tkWinColor.c
+++ b/win/tkWinColor.c
@@ -201,7 +201,7 @@ TkpGetColor(tkwin, name)
if (((strncasecmp(name, "system", 6) == 0)
&& FindSystemColor(name+6, &color, &index))
- || XParseColor(Tk_Display(tkwin), Tk_Colormap(tkwin), name,
+ || TkParseColor(Tk_Display(tkwin), Tk_Colormap(tkwin), name,
&color)) {
winColPtr = (WinColor *) ckalloc(sizeof(WinColor));
winColPtr->info.color = color;