summaryrefslogtreecommitdiff
path: root/xfontsel.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 22:00:50 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 22:03:43 -0700
commitd9200f965f056d3da49476dd9b8333ff47265f30 (patch)
treea2314526018b0f20d1fa73e03f8df2588eb8becd /xfontsel.c
parent561085a83a777fec4b42cfa16a8ba80e971d86fb (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 'xfontsel.c')
-rw-r--r--xfontsel.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/xfontsel.c b/xfontsel.c
index efa01c8..47ece7b 100644
--- a/xfontsel.c
+++ b/xfontsel.c
@@ -154,19 +154,19 @@ static void Syntax(char *call)
fprintf (stderr, "where options include:\n");
fprintf (stderr,
" -display dpy X server to contact\n");
- fprintf (stderr,
+ fprintf (stderr,
" -geometry geom size and location of window\n");
- fprintf (stderr,
+ fprintf (stderr,
" -pattern fontspec font name pattern to match against\n");
- fprintf (stderr,
+ fprintf (stderr,
" -print print selected font name on exit\n");
- fprintf (stderr,
+ fprintf (stderr,
" -sample string sample text to use for 1-byte fonts\n");
- fprintf (stderr,
+ fprintf (stderr,
" -sample16 string sample text to use for 2-byte fonts\n");
fprintf (stderr,
" -sampleUCS string sample text to use for ISO10646 fonts\n");
- fprintf (stderr,
+ fprintf (stderr,
" -scaled use scaled instances of fonts\n");
fprintf (stderr, "\n");
exit (1);
@@ -346,7 +346,7 @@ see 'xfontsel' manual page."
XtCreateManagedWidget("sampleText",ucsLabelWidgetClass,viewPort,NZ);
}
}
-
+
XtRealizeWidget(topLevel);
XDefineCursor( XtDisplay(topLevel), XtWindow(topLevel), AppRes.cursor );
{
@@ -513,7 +513,7 @@ void GetFontNames(XtPointer closure)
}
}
else
- XtAppWarning( appCtx,
+ XtAppWarning( appCtx,
"internal error; pattern didn't match first font" );
}
else {
@@ -594,7 +594,7 @@ void ParseFontNames(XtPointer closure)
fontValues->value_index[f] = fieldValues[f]->count - i;
if ((i = v->count++) == v->allocated) {
int allocated = (v->allocated += 10);
- v->font = (int*)XtRealloc( (char *) v->font,
+ v->font = (int*)XtRealloc( (char *) v->font,
allocated * sizeof(int) );
}
v->font[i] = font - numBadFonts;
@@ -932,7 +932,7 @@ Boolean Matches(register String pattern, register String fontName,
marked_this_field = False;
}
else if (!marked_this_field)
- fields[field] = marked_this_field = True;
+ fields[field] = marked_this_field = True;
continue;
}
if (*pattern == '*') {
@@ -990,7 +990,7 @@ void SelectValue(Widget w, XtPointer closure, XtPointer callData)
choice->prev = choiceList;
choice->value = val;
choiceList = choice;
-
+
SetCurrentFont(NULL);
EnableRemainingItems(SkipCurrentField);
}