diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-10-23 13:28:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-10-23 13:28:32 (GMT) |
commit | 7d1aace3734e93fd19cd2fa7cb3d0b04cf555c1c (patch) | |
tree | e7364b4bb34b0a57c4cb321fb2f9f8ddc8223554 /unix/tkUnixKey.c | |
parent | 82c2300291ac49bcadd9eddcacbb32f7ba5fe470 (diff) | |
parent | b0f932ecc2a3a32f67e6054aae4411da9d04da39 (diff) | |
download | tk-7d1aace3734e93fd19cd2fa7cb3d0b04cf555c1c.zip tk-7d1aace3734e93fd19cd2fa7cb3d0b04cf555c1c.tar.gz tk-7d1aace3734e93fd19cd2fa7cb3d0b04cf555c1c.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.c | 10 |
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. */ |