-/* glslideshow, Copyright (c) 2003-2008 Jamie Zawinski <jwz@jwz.org>
+/* glslideshow, Copyright (c) 2003-2011 Jamie Zawinski <jwz@jwz.org>
* Loads a sequence of images and smoothly pans around them; crossfades
* when loading new images.
*
img->geom.height *= scale;
}
+# if 0 /* xscreensaver-getimage returns paths relative to the image directory
+ now, so leave the sub-directory part in.
+ */
if (img->title) /* strip filename to part between last "/" and last ".". */
{
char *s = strrchr (img->title, '/');
s = strrchr (img->title, '.');
if (s) *s = 0;
}
+# endif /* 0 */
if (debug_p)
fprintf (stderr, "%s: loaded img %2d: \"%s\"\n",