summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-14 15:45:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-14 15:45:33 (GMT)
commit83514ebcf9336a0ee9330bdfa93a39de39ac6b54 (patch)
treee6d4a3cdd8f88d2e908e0c42ece5a667d218773f /win
parent7cfd623dc5324f153717a00faa7c3e080811bcbb (diff)
downloadtk-83514ebcf9336a0ee9330bdfa93a39de39ac6b54.zip
tk-83514ebcf9336a0ee9330bdfa93a39de39ac6b54.tar.gz
tk-83514ebcf9336a0ee9330bdfa93a39de39ac6b54.tar.bz2
Add quotes to the "processing * option" error-messages, for consistancy. Some indenting fixes
Diffstat (limited to 'win')
-rw-r--r--win/tkWinButton.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index a60fec2..31789e1 100644
--- a/win/tkWinButton.c
+++ b/win/tkWinButton.c
@@ -623,7 +623,7 @@ TkpDisplayButton(
if (butPtr->type == TYPE_LABEL) {
defaultWidth = butPtr->highlightWidth;
- offset = 0;
+ offset = 0;
} else if (butPtr->type == TYPE_BUTTON) {
defaultWidth = ((butPtr->defaultState == DEFAULT_ACTIVE)
? butPtr->highlightWidth : 0);
@@ -929,14 +929,14 @@ TkpDisplayButton(
butPtr->borderWidth, relief);
}
if (defaultWidth != 0) {
- int highlightColor;
+ int highlightColor;
dc = TkWinGetDrawableDC(butPtr->display, pixmap, &state);
- if (butPtr->type == TYPE_LABEL) {
- highlightColor = (int) Tk_3DBorderColor(butPtr->highlightBorder)->pixel;
- } else {
- highlightColor = (int) butPtr->highlightColorPtr->pixel;
- }
+ if (butPtr->type == TYPE_LABEL) {
+ highlightColor = (int) Tk_3DBorderColor(butPtr->highlightBorder)->pixel;
+ } else {
+ highlightColor = (int) butPtr->highlightColorPtr->pixel;
+ }
TkWinFillRect(dc, 0, 0, Tk_Width(tkwin), defaultWidth,
highlightColor);
TkWinFillRect(dc, 0, 0, defaultWidth, Tk_Height(tkwin),
@@ -1449,7 +1449,7 @@ ButtonProc(
* causes all buttons to fire once a second, so we need to make sure
* that we are not dealing with the chromium life check.
*/
- if (wParam != 0 || lParam != 0) {
+ if (wParam != 0 || lParam != 0) {
int code;
Tcl_Interp *interp = butPtr->info.interp;