projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-5.01.tar.gz
[xscreensaver]
/
hacks
/
flag.c
diff --git
a/hacks/flag.c
b/hacks/flag.c
index 885fa898b6fcc32d5e945b3e1a504e1f15b3485a..c74e921de4698e9ac3d9b07055bde42b24e016cd 100644
(file)
--- a/
hacks/flag.c
+++ b/
hacks/flag.c
@@
-192,6
+192,10
@@
make_flag_bits(ModeInfo *mi)
char *bitmap_name = get_string_resource (dpy, "bitmap", "Bitmap");
char *text = get_string_resource (dpy, "text", "Text");
char *bitmap_name = get_string_resource (dpy, "bitmap", "Bitmap");
char *text = get_string_resource (dpy, "text", "Text");
+#ifdef HAVE_COCOA
+ bitmap_name = 0; /* #### always use default */
+#endif
+
/* If neither a bitmap nor text are specified, randomly select either
the builtin bitmap or builtin text. */
if ((!bitmap_name || !*bitmap_name) && (!text || !*text))
/* If neither a bitmap nor text are specified, randomly select either
the builtin bitmap or builtin text. */
if ((!bitmap_name || !*bitmap_name) && (!text || !*text))