diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-01 21:50:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-01 21:50:55 (GMT) |
commit | 1ebb0c9d23b20f48bb8d5cc30f30532c99823731 (patch) | |
tree | 639f805d8747720a68d33f6fb1db835bfaf70bee /generic/tk3d.c | |
parent | 0bffbe8dfe9cd138fc970a3b8d026558f2f57847 (diff) | |
download | tk-1ebb0c9d23b20f48bb8d5cc30f30532c99823731.zip tk-1ebb0c9d23b20f48bb8d5cc30f30532c99823731.tar.gz tk-1ebb0c9d23b20f48bb8d5cc30f30532c99823731.tar.bz2 |
Fix Tk_Get3BorderColors() signature. Add documentation, created by René Zaumseil
Diffstat (limited to 'generic/tk3d.c')
-rw-r--r-- | generic/tk3d.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tk3d.c b/generic/tk3d.c index 16871a7..65ae8d0 100644 --- a/generic/tk3d.c +++ b/generic/tk3d.c @@ -1405,20 +1405,20 @@ TkDebugBorder( */ void -Tk_Get3BorderColors( - Tk_3DBorder * borderPtr, - XColor * bgColorPtr, - XColor * darkColorPtr, - XColor * lightColorPtr) +Tk_Get3DBorderColors( + Tk_3DBorder border, + XColor *bgColorPtr, + XColor *darkColorPtr, + XColor *lightColorPtr) { if (bgColorPtr) { - *bgColorPtr = *((TkBorder *)borderPtr)->bgColorPtr; + *bgColorPtr = *((TkBorder *)border)->bgColorPtr; } if (darkColorPtr) { - *darkColorPtr = *((TkBorder *) borderPtr)->darkColorPtr; + *darkColorPtr = *((TkBorder *) border)->darkColorPtr; } if (lightColorPtr) { - *lightColorPtr = *((TkBorder *) borderPtr)->lightColorPtr; + *lightColorPtr = *((TkBorder *) border)->lightColorPtr; } } |