* Fixed life3d mode when running by itself as it would not pick up allGliders rules on refresh. * Fixed building for CDE for Linux. In general, for Linux, the build now uses -R for linking like BSD. OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xlockmore?expand=0&rev=72
17 lines
568 B
Diff
17 lines
568 B
Diff
Index: xlockmore-5.43/modes/nose.c
|
|
===================================================================
|
|
--- xlockmore-5.43.orig/modes/nose.c 2013-02-18 15:53:14.000000000 +0100
|
|
+++ xlockmore-5.43/modes/nose.c 2015-03-10 20:44:01.731745516 +0100
|
|
@@ -584,6 +584,11 @@ talk(ModeInfo * mi, Bool force_erase)
|
|
register char *p, *p2;
|
|
char buf[BUFSIZ], args[MAXLINES][MAXWIDTH];
|
|
|
|
+ /* don't try to talk without a graphics context */
|
|
+ if (!np->text_bg_gc) {
|
|
+ return;
|
|
+ }
|
|
+
|
|
/* clear what we've written */
|
|
if (np->talking || force_erase) {
|
|
if (!np->talking)
|