graveman-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Graveman-cvs] Changes to graveman/current/src/config.c


From: sylvain cresto
Subject: [Graveman-cvs] Changes to graveman/current/src/config.c
Date: Sun, 17 Apr 2005 17:56:06 -0400

Index: graveman/current/src/config.c
diff -u graveman/current/src/config.c:1.33 graveman/current/src/config.c:1.34
--- graveman/current/src/config.c:1.33  Thu Apr 14 23:23:17 2005
+++ graveman/current/src/config.c       Sun Apr 17 21:56:06 2005
@@ -474,7 +474,8 @@
       conf_store_value(Lcurentry->entry, get_combo_value(Lwidget));
     } else if (Lcurentry->level & CONF_DEVICE) {
       Tdriveinfo *Ldevice = get_combo_value(Lwidget);
-      conf_store_value(Lcurentry->entry, DRIVE_DEV(Ldevice));
+      if (Ldevice != NULL)
+        conf_store_value(Lcurentry->entry, DRIVE_DEV(Ldevice));
     } else if (Lcurentry->level & CONF_SPIN) {
       conf_store_int(Lcurentry->entry, 
gtk_spin_button_get_value(GTK_SPIN_BUTTON(Lwidget)));
     } else if (Lcurentry->level & CONF_CHECK) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]