Fixes NB#135463, crash in check_data
[modest] / src / gnome / modest-default-account-settings-dialog.c
index 85fe69a..0295822 100644 (file)
@@ -996,7 +996,7 @@ check_data (ModestAccountSettingsDialog *self)
        if (!account_title)
                return FALSE; /* Should be prevented already anyway. */
                
-       if (strcmp(account_title, priv->original_account_title) != 0) {
+       if (g_strcmp0 (account_title, priv->original_account_title) != 0) {
                /* Check the changed title: */
                const gboolean name_in_use  = modest_account_mgr_account_with_display_name_exists (priv->account_manager,
                        account_title);