summaryrefslogtreecommitdiffstats
path: root/source/xap/xscreensaver/xscreensaver.no.expiration.date.diff
blob: fc4af25ac33da976f83625183d551fa456570345 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- ./driver/dialog.c.orig	2023-05-05 20:19:20.000000000 -0500
+++ ./driver/dialog.c	2023-09-01 14:00:50.664648227 -0500
@@ -1454,18 +1454,10 @@
      disrespect the wishes of the person who wrote all of this software for
      you -- you are a terrible person.  Kindly go fuck yourself.
   */
-  if (time ((time_t *) 0) - XSCREENSAVER_RELEASED > 60*60*24*30*17)
-    {
-      lines[i].text  = _("Update available!\nThis version is very old.\n");
-      lines[i].font  = ws->error_font;
-      lines[i].fg    = ws->xft_error_foreground;
-      lines[i].fg2   = lines[i].fg;
-      lines[i].bg    = ws->background;
-      lines[i].type  = LABEL;
-      lines[i].align = CENTER;
-      i++;
-    }
-  else if (strstr (ws->version, "a") || strstr (ws->version, "b"))
+
+  /* Downstream note: tough shit, buddy. */
+
+  if (strstr (ws->version, "a") || strstr (ws->version, "b"))
     {
       lines[i].text  = _("PRE-RELEASE VERSION");
       lines[i].font  = ws->error_font;