* we have now several bstrs:
[citadel.git] / webcit / preferences.c
index c8ec33116afa8f0cb1714486a114912d8c81f8cf..eaf6f7f4249ca4985a1ef9d698fb9d58d2de3184 100644 (file)
@@ -438,7 +438,7 @@ void set_preferences(void)
        
        time_format_cache = &(WC->time_format_cache);
 
-       if (IsEmptyStr(bstr("change_button"))) {
+       if (!havebstr("change_button")) {
                safestrncpy(WC->ImportantMessage, 
                        _("Cancelled.  No settings were changed."),
                        sizeof WC->ImportantMessage);