Diff of /src/preferences.c [aeb8a9] .. [6b8ec8] Maximize Restore

  Switch to side-by-side view

--- a/src/preferences.c
+++ b/src/preferences.c
@@ -108,14 +108,14 @@
       void (*func)(GtkWidget *);
       if (pref->exp <= exp)
       {
-        func = gtk_widget_show;
-        state |= 1;
-        last = pref;
+	func = gtk_widget_show;
+	state |= 1;
+	last = pref;
       }
       else
       {
-        func = gtk_widget_hide;
-        state |= 2;
+	func = gtk_widget_hide;
+	state |= 2;
       }
       if (pref->exp <= exp)
 	last = pref;
@@ -327,9 +327,9 @@
     {
       if (c == '\\')
       {
-        char tmp[] = { '0', prop[0], prop[1], prop[2], 0 };
-        prop += 3;
-        c = (char) strtol (tmp, NULL, 0);
+	char tmp[] = { '0', prop[0], prop[1], prop[2], 0 };
+	prop += 3;
+	c = (char) strtol (tmp, NULL, 0);
       }
       *ptr++ = c;
     }
@@ -371,15 +371,15 @@
       char *p;
       buf[ldev + tmp] = 0;
       while ((p = strstr (buf, "//")))
-        memmove (p, p + 1, strlen (p));
+	memmove (p, p + 1, strlen (p));
       while ((p = strstr (buf, "/./")))
-        memmove (p, p + 2, strlen (p) - 1);
+	memmove (p, p + 2, strlen (p) - 1);
       while ((p = strstr (buf, "/../")))
       {
-        char *q = p;
-        while (--q >= buf && *q != '/')
-          /**/;
-        memmove (q, p + 3, strlen (p) - 2);
+	char *q = p;
+	while (--q >= buf && *q != '/')
+	  /**/;
+	memmove (q, p + 3, strlen (p) - 2);
       }
     }
   }
@@ -452,15 +452,15 @@
       char *p;
       buf[ldev + tmp] = 0;
       while ((p = strstr (buf, "//")))
-        memmove (p, p + 1, strlen (p));
+	memmove (p, p + 1, strlen (p));
       while ((p = strstr (buf, "/./")))
-        memmove (p, p + 2, strlen (p) - 1);
+	memmove (p, p + 2, strlen (p) - 1);
       while ((p = strstr (buf, "/../")))
       {
-        char *q = p;
-        while (--q >= buf && *q != '/')
-          /**/;
-        memmove (q, p + 3, strlen (p) - 2);
+	char *q = p;
+	while (--q >= buf && *q != '/')
+	  /**/;
+	memmove (q, p + 3, strlen (p) - 2);
       }
     }
   }
@@ -518,7 +518,7 @@
     xine_config_update_entry (xine, &entry);
 #ifdef GXINE_DEVICE_INFO
     if (entry.num_value == 2 /* XINE_CONFIG_STRING_IS_DEVICE_NAME */)
-      display_hal_device_info (data, key); 
+      display_hal_device_info (data, key);
 #endif
   }
   free (key);
@@ -948,7 +948,7 @@
     gtk_adjustment_set_value (adj, top);
   else if (bottom + 4 > adj->value + viewport->allocation.height)
     gtk_adjustment_set_value (adj, bottom - viewport->allocation.height + 4);
-  
+
   return FALSE;
 }