1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/sysutils/gnome-control-center/files/patch-cf
Ade Lovett 2bd41e156f Fix gtk theme switcher applet - http://bugs.gnome.org/db/26/26809.html
PR:		23139
Submitted by:	Anand Ranganathan <anand@desktop.com>
2000-11-30 18:13:34 +00:00

13 lines
371 B
Plaintext

--- capplets/theme-switcher/lister.c.orig Mon Nov 27 11:39:55 2000
+++ capplets/theme-switcher/lister.c Mon Nov 27 11:18:25 2000
@@ -160,6 +160,8 @@
while (!feof (fin))
{
getline (&lineptr, &linecount, fin);
+ if (feof(fin))
+ break;
if (ferror(fin))
{
errstring = g_strdup_printf ("Error reading from RC file %s: %s",