SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
x11/yeahlaunch/patches/patch-yeahlaunch_c
Normal file
13
x11/yeahlaunch/patches/patch-yeahlaunch_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- yeahlaunch.c.orig Mon Jun 4 17:44:48 2007
|
||||
+++ yeahlaunch.c Mon Jun 4 17:44:55 2007
|
||||
@@ -104,6 +104,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
}
|
||||
font = XLoadQueryFont(dpy, opt_font);
|
||||
+ if (font == NULL) {
|
||||
+ fprintf(stderr, "Font does not exist! exiting...\n");
|
||||
+ exit(1);
|
||||
+ }
|
||||
height = font-> /* max_bounds. */ ascent + font-> /* max_bounds. */ descent + 3;
|
||||
XAllocNamedColor(dpy, DefaultColormap(dpy, screen), opt_fg, &fg, &dummy);
|
||||
XAllocNamedColor(dpy, DefaultColormap(dpy, screen), opt_afg, &afg, &dummy);
|
Loading…
Add table
Add a link
Reference in a new issue