summaryrefslogtreecommitdiff
path: root/xconsole.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 20:30:46 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 20:30:46 -0700
commitf7bcc00522e06e33ddb1ff4974c3b15a44d1005f (patch)
tree09b0798a44346368598fdc821eeb63f7983c62f6 /xconsole.c
parenta03d98d49cd2f2ef6aa6d2ecaf611cccfad7a919 (diff)
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xconsole.c')
-rw-r--r--xconsole.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xconsole.c b/xconsole.c
index d8656e8..b94314a 100644
--- a/xconsole.c
+++ b/xconsole.c
@@ -167,7 +167,7 @@ static XrmOptionDescRec options[] = {
* devpts. This is the fallback if open file FILE_NAME fails.
* <werner@suse.de>
*/
-# define USE_PTS
+# define USE_PTS
# endif
#endif
@@ -283,7 +283,7 @@ OpenConsole(void)
}
# endif
#endif
-
+
#ifdef USE_PTY
if (!input && get_pty (&pty_fd, &tty_fd, ttydev, ptydev) == 0)
{
@@ -538,7 +538,7 @@ inputReady(XtPointer w, int *source, XtInputId *id)
stripNonprint (buffer);
n = strlen (buffer);
}
-
+
TextAppend ((Widget) text, buffer, n);
}
}
@@ -984,7 +984,7 @@ osm_pipe(void)
return NULL;
#if defined (_AIX)
if ((tty = open("/dev/ptc", O_RDWR)) < 0)
-#else
+#else
if ((tty = open("/dev/ptmx", O_RDWR)) < 0)
#endif
return NULL;