summaryrefslogtreecommitdiff
path: root/sysutils/gnome-control-center1/files/patch-cf
blob: 7235390496efef98c4a6f8924fab02599dbce0cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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",