summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-02-21 12:14:16 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-02-21 12:14:16 (GMT)
commit367c0017115f5d49df42aa386b08064b12147602 (patch)
treede0b6542781213b1ea4e77b91638f0e497ec5955
parent2d0096fbca6ae857e2d6711e058ca49ea3391e44 (diff)
downloadtk-367c0017115f5d49df42aa386b08064b12147602.zip
tk-367c0017115f5d49df42aa386b08064b12147602.tar.gz
tk-367c0017115f5d49df42aa386b08064b12147602.tar.bz2
Tiny whitespace changes for readability improvement.
-rw-r--r--generic/tkMenubutton.c4
-rw-r--r--generic/tkPointer.c4
-rw-r--r--generic/tkTest.c6
-rw-r--r--generic/tkTextWind.c6
4 files changed, 10 insertions, 10 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c
index b66f254..17fc6c6 100644
--- a/generic/tkMenubutton.c
+++ b/generic/tkMenubutton.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMenubutton.c,v 1.28 2010/01/18 20:43:38 nijtmans Exp $
+ * RCS: @(#) $Id: tkMenubutton.c,v 1.29 2010/02/21 12:14:16 dkf Exp $
*/
#include "tkInt.h"
@@ -255,7 +255,7 @@ Tk_MenubuttonObjCmd(
*/
mbPtr->tkwin = tkwin;
- mbPtr->display = Tk_Display (tkwin);
+ mbPtr->display = Tk_Display(tkwin);
mbPtr->interp = interp;
mbPtr->widgetCmd = Tcl_CreateObjCommand(interp,
Tk_PathName(mbPtr->tkwin), MenuButtonWidgetObjCmd, mbPtr,
diff --git a/generic/tkPointer.c b/generic/tkPointer.c
index f107f53..70bf087 100644
--- a/generic/tkPointer.c
+++ b/generic/tkPointer.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkPointer.c,v 1.14 2010/02/13 13:47:49 nijtmans Exp $
+ * RCS: @(#) $Id: tkPointer.c,v 1.15 2010/02/21 12:14:16 dkf Exp $
*/
#include "tkInt.h"
@@ -56,7 +56,7 @@ static Tcl_ThreadDataKey dataKey;
static int GenerateEnterLeave(TkWindow *winPtr, int x, int y,
int state);
-static void InitializeEvent(XEvent* eventPtr, TkWindow *winPtr,
+static void InitializeEvent(XEvent *eventPtr, TkWindow *winPtr,
int type, int x, int y, int state, int detail);
static void UpdateCursor(TkWindow *winPtr);
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 58f6d62..511024e 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTest.c,v 1.45 2010/01/18 20:43:38 nijtmans Exp $
+ * RCS: @(#) $Id: tkTest.c,v 1.46 2010/02/21 12:14:16 dkf Exp $
*/
#undef STATIC_BUILD
@@ -124,8 +124,8 @@ typedef struct CBinding {
* Header for trivial configuration command items.
*/
-#define ODD TK_CONFIG_USER_BIT
-#define EVEN (TK_CONFIG_USER_BIT << 1)
+#define ODD TK_CONFIG_USER_BIT
+#define EVEN (TK_CONFIG_USER_BIT << 1)
enum {
NONE,
diff --git a/generic/tkTextWind.c b/generic/tkTextWind.c
index f9bcc09..fa42b05 100644
--- a/generic/tkTextWind.c
+++ b/generic/tkTextWind.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextWind.c,v 1.28 2010/01/18 20:43:38 nijtmans Exp $
+ * RCS: @(#) $Id: tkTextWind.c,v 1.29 2010/02/21 12:14:16 dkf Exp $
*/
#include "tkPort.h"
@@ -65,7 +65,7 @@ static void EmbWinStructureProc(ClientData clientData,
XEvent *eventPtr);
static void EmbWinUndisplayProc(TkText *textPtr,
TkTextDispChunk *chunkPtr);
-static TkTextEmbWindowClient* EmbWinGetClient(const TkText *textPtr,
+static TkTextEmbWindowClient *EmbWinGetClient(const TkText *textPtr,
TkTextSegment *ewPtr);
/*
@@ -1365,7 +1365,7 @@ TkTextWindowIndex(
*--------------------------------------------------------------
*/
-static TkTextEmbWindowClient*
+static TkTextEmbWindowClient *
EmbWinGetClient(
const TkText *textPtr, /* Information about text widget. */
TkTextSegment *ewPtr) /* Segment containing embedded window. */