X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=info.c;h=5a620e751694a40ea8f1569a894ed6af4af6812a;hb=70f903c457a3b82cdaa62e232124cdbba5c11bc5;hp=846d51efc29062412dfe2c5da3656961d9e49476;hpb=2f773b97e042799fbb284b15cb682104dfdbba9d;p=ext%2Fsubsurface.git diff --git a/info.c b/info.c index 846d51e..5a620e7 100644 --- a/info.c +++ b/info.c @@ -83,6 +83,9 @@ static char *get_combo_box_entry_text(GtkComboBoxEntry *combo_box, char **textp, new = gtk_entry_get_text(entry); while (isspace(*new)) new++; + /* If the master string didn't change, don't change other dives either! */ + if (!text_changed(master,new)) + return NULL; if (!text_changed(old,new)) return NULL; free(old);