diff options
author | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:38:59 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:38:59 -0400 |
commit | 4b7af3dca51bccb86816d7c0e8995ce009f9999e (patch) | |
tree | f8e1037d6e583ffc5f7b571e188fc5fdeadd39bb /src/AsciiText.c | |
parent | 004a1d1746c62bb44b440df66f196d27d12d16d6 (diff) |
Strip trailing whitespace.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/AsciiText.c')
-rw-r--r-- | src/AsciiText.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/AsciiText.c b/src/AsciiText.c index 6a6be86..224ef8f 100644 --- a/src/AsciiText.c +++ b/src/AsciiText.c @@ -28,13 +28,13 @@ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts. All Rights Reserved -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in +both that copyright notice and this permission notice appear in supporting documentation, and that the name of Digital not be used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. +software without specific, written prior permission. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL @@ -55,13 +55,13 @@ SOFTWARE. /* * AsciiText.c - Source code for AsciiText Widget. * - * This Widget is intended to be used as a simple front end to the + * This Widget is intended to be used as a simple front end to the * text widget with an ascii source and ascii sink attached to it. * * Date: June 29, 1989 * * By: Chris D. Peterson - * MIT X Consortium + * MIT X Consortium * kit@expo.lcs.mit.edu */ @@ -164,7 +164,7 @@ Cardinal *num_args; } else #endif - { + { w->text.source = XtCreateWidget( "textSource", asciiSrcObjectClass, new, args, *num_args ); @@ -175,9 +175,9 @@ Cardinal *num_args; if (w->core.height == DEFAULT_TEXT_HEIGHT) w->core.height = VMargins(w) + XawTextSinkMaxHeight(w->text.sink, 1); - for (i=0, tab=0 ; i < TAB_COUNT ; i++) + for (i=0, tab=0 ; i < TAB_COUNT ; i++) tabs[i] = (tab += 8); - + XawTextSinkSetTabs(w->text.sink, TAB_COUNT, tabs); XawTextDisableRedisplay(new); @@ -202,7 +202,7 @@ Cardinal *num_args; #endif } -static void +static void Destroy(w) Widget w; { |