summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvas.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-30 17:07:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-30 17:07:58 (GMT)
commitb1b5c61a7458041a11b7a5920b22689566345256 (patch)
tree24244422ce05e0adb9528fa7d76f3c95ff398341 /generic/tkCanvas.c
parent81291da33b1e6f1cab8020cb72dd43a974a0a20e (diff)
parent247c0ea91f30dcb6e0897e0598ddbaff82525184 (diff)
downloadtk-b1b5c61a7458041a11b7a5920b22689566345256.zip
tk-b1b5c61a7458041a11b7a5920b22689566345256.tar.gz
tk-b1b5c61a7458041a11b7a5920b22689566345256.tar.bz2
Merge 9.0. Streamline some indenting
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r--generic/tkCanvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index aa3fca3..879cf27 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -3196,7 +3196,7 @@ DisplayCanvas(
Tk_Height(tkwin) - 2*canvasPtr->highlightWidth,
canvasPtr->borderWidth, canvasPtr->relief);
}
- if (canvasPtr->highlightWidth != 0) {
+ if (canvasPtr->highlightWidth > 0) {
GC fgGC, bgGC;
bgGC = Tk_GCForColor(canvasPtr->highlightBgColorPtr,