summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 13:28:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 13:28:32 (GMT)
commit2057f61af78500da2956bf3aa83cc10878e93d09 (patch)
treee7364b4bb34b0a57c4cb321fb2f9f8ddc8223554 /unix/tkUnixKey.c
parentc5c29cc39d29340d28c498b3008ba0a9ca9f84bd (diff)
parentc952daff893fa20dc2773d7cf5aeaa4687ba6f45 (diff)
downloadtk-2057f61af78500da2956bf3aa83cc10878e93d09.zip
tk-2057f61af78500da2956bf3aa83cc10878e93d09.tar.gz
tk-2057f61af78500da2956bf3aa83cc10878e93d09.tar.bz2
sync nmakehlp.c with Tcl version
<p>purge spaces at end of lines <p>clean-up unix/Makefile.in after carbon removal
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index f422111..b7fc97f 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -42,7 +42,7 @@ Tk_SetCaretPos(
if ( dispPtr->caret.winPtr == winPtr
&& dispPtr->caret.x == x
&& dispPtr->caret.y == y
- && dispPtr->caret.height == height)
+ && dispPtr->caret.height == height)
{
return;
}
@@ -116,7 +116,7 @@ TkpGetString(
#ifdef TK_USE_INPUT_METHODS
if ((winPtr->dispPtr->flags & TK_DISPLAY_USE_IM)
&& (winPtr->inputContext != NULL)
- && (eventPtr->type == KeyPress))
+ && (eventPtr->type == KeyPress))
{
Status status;
@@ -129,7 +129,7 @@ TkpGetString(
if (status == XBufferOverflow) { /* Expand buffer and try again */
Tcl_DStringSetLength(dsPtr, len);
len = Xutf8LookupString(winPtr->inputContext, &eventPtr->xkey,
- Tcl_DStringValue(dsPtr), Tcl_DStringLength(dsPtr),
+ Tcl_DStringValue(dsPtr), Tcl_DStringLength(dsPtr),
&kePtr->keysym, &status);
}
if ((status != XLookupChars) && (status != XLookupBoth)) {
@@ -145,7 +145,7 @@ TkpGetString(
Tcl_DStringSetLength(&buf, TCL_DSTRING_STATIC_SIZE-1);
len = XmbLookupString(winPtr->inputContext, &eventPtr->xkey,
- Tcl_DStringValue(&buf), Tcl_DStringLength(&buf),
+ Tcl_DStringValue(&buf), Tcl_DStringLength(&buf),
&kePtr->keysym, &status);
/*
@@ -281,7 +281,7 @@ TkpGetKeySym(
TkKeyEvent* kePtr = (TkKeyEvent*) eventPtr;
#ifdef TK_USE_INPUT_METHODS
- /*
+ /*
* If input methods are active, we may already have determined a keysym.
* Return it.
*/