From cde913c79ca78784b4dc883eea946b912bb0733e Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 29 Mar 2016 11:59:01 +0200 Subject: [PATCH] setupwizard.c: fix typo --- gtk/setupwizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/setupwizard.c b/gtk/setupwizard.c index 63b6cec6f..807c8a4d7 100644 --- a/gtk/setupwizard.c +++ b/gtk/setupwizard.c @@ -309,7 +309,7 @@ void linphone_gtk_account_creation_password_changed(GtkEntry *entry) { } else { if (gtk_entry_get_text_length(password) < PASSWORD_MIN_SIZE) { gtk_label_set_text(passwordError, "Password is too short !"); - } else if (!g_ascii_strcasecmp(gtk_entry_get_text(password), gtk_entry_get_text(password_confirm)) == 0) { + } else if (g_ascii_strcasecmp(gtk_entry_get_text(password), gtk_entry_get_text(password_confirm)) != 0) { gtk_label_set_text(passwordError, "Passwords don't match !"); } g_object_set_data(G_OBJECT(page), "is_password_correct", GINT_TO_POINTER(0));