22846864 photopile should allow for longer file names
authorJohn Beck <John.Beck@Oracle.COM>
Mon, 29 Feb 2016 15:20:02 -0800
changeset 5525 7fcde4c19777
parent 5524 7c50b6f98812
child 5526 570ac9aab8b2
22846864 photopile should allow for longer file names
components/desktop/xscreensaver/patches/28-photopile-title.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/xscreensaver/patches/28-photopile-title.patch	Mon Feb 29 15:20:02 2016 -0800
@@ -0,0 +1,14 @@
+This patch was developed in-house, offered upstream, but rejected because
+of a difference of opinion about typical settings for font and screen sizes.
+
+--- xscreensaver-5.15/hacks/glx/photopile.c.1	2011-09-08 23:52:32.000000000 -0700
++++ xscreensaver-5.15/hacks/glx/photopile.c	2014-05-18 19:39:24.308851725 -0700
[email protected]@ -626,7 +626,7 @@
+       const char *title = frame->title ? frame->title : "(untitled)";
+ 
+       /* #### Highly approximate, but doing real clipping is harder... */
+-      int max = 35;
++      int max = 61;
+       if (strlen(title) > max)
+         title += strlen(title) - max;
+