summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-14 16:08:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-14 16:08:10 (GMT)
commit4c2383b472b848c812ffb25dc0c7e2fc0e8f9b5f (patch)
treebd1c39d413a834acc9427fa0661a92c10e3dffb5 /win
parenteee6c9db0590a4087098a7a7d85dd139bfda6d0f (diff)
parent83514ebcf9336a0ee9330bdfa93a39de39ac6b54 (diff)
downloadtk-4c2383b472b848c812ffb25dc0c7e2fc0e8f9b5f.zip
tk-4c2383b472b848c812ffb25dc0c7e2fc0e8f9b5f.tar.gz
tk-4c2383b472b848c812ffb25dc0c7e2fc0e8f9b5f.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;