--- dlume-0.2.4.orig/src/add_edit.c
+++ dlume-0.2.4/src/add_edit.c
@@ -100,18 +100,23 @@
 			size_notes);
 
 
-	if(strlen(rec_entry.first_name) || strlen(rec_entry.last_name)) {
-
-		data_add_record(&rec_entry);
-
-		gui_display_records_list();
-		gui_update_records_list((gchar *)gtk_entry_get_text(GTK_ENTRY(find_entry)));
-
-		gui_show_status(_("Contact added sucessfully."));
+	if(strlen(rec_entry.first_name) && strlen(rec_entry.last_name)) {
+		if ( find_record(rec_entry.first_name, rec_entry.last_name) >= 0 ) {
+			gui_show_status(_("ERROR: Same first name and last name already exists"));
+			
+		} else {
+		
+			data_add_record(&rec_entry);
+		
+			gui_display_records_list();
+			gui_update_records_list((gchar *)gtk_entry_get_text(GTK_ENTRY(find_entry)));
+			
+			gui_show_status(_("Contact added sucessfully."));
+		}
 
 	} else {
 
-		gui_show_status(_("Contact needs first or last name!"));
+		gui_show_status(_("Contact needs first and last name!"));
 
 	}
 
