summaryrefslogtreecommitdiff
path: root/sent.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2015-10-31 18:10:47 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-10-31 18:10:47 +0100
commit345b48fe0333bbc85c52c5b4ab1ab94879b2fc1d (patch)
treec19855d043ec65d536d59b8a8586a4278cbf50c5 /sent.c
parenta9ca2473fd72462eaf90346258119c13c74bddcb (diff)
remove unused font configuration, update license year
Diffstat (limited to 'sent.c')
-rw-r--r--sent.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sent.c b/sent.c
index 9bda178..81ef04e 100644
--- a/sent.c
+++ b/sent.c
@@ -97,7 +97,7 @@ static void usage();
static void xdraw();
static void xhints();
static void xinit();
-static void xloadfonts(char *);
+static void xloadfonts();
static void bpress(XEvent *);
static void cmessage(XEvent *);
@@ -454,8 +454,8 @@ void run()
void usage()
{
- die("sent " VERSION " (c) 2014 markus.teich@stusta.mhn.de\n" \
- "usage: sent [-f font] FILE1 [FILE2 ...]", argv0);
+ die("sent " VERSION " (c) 2015 markus.teich@stusta.mhn.de\n" \
+ "usage: sent FILE1 [FILE2 ...]", argv0);
}
void xdraw()
@@ -525,7 +525,7 @@ void xinit()
sc = drw_scm_create(d, "#000000", "#FFFFFF");
drw_setscheme(d, sc);
- xloadfonts(font);
+ xloadfonts();
XStringListToTextProperty(&argv0, 1, &prop);
XSetWMName(xw.dpy, xw.win, &prop);
@@ -536,7 +536,7 @@ void xinit()
XSync(xw.dpy, False);
}
-void xloadfonts(char *fontstr)
+void xloadfonts()
{
int i, j;
char *fstrs[LEN(fontfallbacks)];
@@ -601,9 +601,6 @@ int main(int argc, char *argv[])
FILE *fp = NULL;
ARGBEGIN {
- case 'f':
- font = EARGF(usage());
- break;
case 'v':
default:
usage();