summaryrefslogtreecommitdiff
path: root/xfontsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfontsel.c')
-rw-r--r--xfontsel.c29
1 files changed, 10 insertions, 19 deletions
diff --git a/xfontsel.c b/xfontsel.c
index cf334e4..c885d71 100644
--- a/xfontsel.c
+++ b/xfontsel.c
@@ -148,27 +148,18 @@ static XrmOptionDescRec options[] = {
{"-scaled", "scaledFonts", XrmoptionNoArg, "True"},
};
-static void Syntax(char *call)
+static void Syntax(const char *call)
{
- fprintf (stderr, "usage: %s [-options ...] -fn font\n\n", call);
- fprintf (stderr, "where options include:\n");
- fprintf (stderr,
- " -display dpy X server to contact\n");
- fprintf (stderr,
- " -geometry geom size and location of window\n");
- fprintf (stderr,
- " -pattern fontspec font name pattern to match against\n");
- fprintf (stderr,
- " -print print selected font name on exit\n");
- fprintf (stderr,
- " -sample string sample text to use for 1-byte fonts\n");
- 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, "usage: %s [-options ...] -fn font\n\n%s\n", call,
+ "where options include:\n"
+ " -display dpy X server to contact\n"
+ " -geometry geom size and location of window\n"
+ " -pattern fontspec font name pattern to match against\n"
+ " -print print selected font name on exit\n"
+ " -sample string sample text to use for 1-byte fonts\n"
+ " -sample16 string sample text to use for 2-byte fonts\n"
+ " -sampleUCS string sample text to use for ISO10646 fonts\n"
" -scaled use scaled instances of fonts\n");
- fprintf (stderr, "\n");
exit (1);
}