comparison lwlib/lwlib.c @ 27756:d0d4542bbdac

(merge_widget_value): Fix incorrect assignment of safe_strdup'd help string.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 18 Feb 2000 11:35:16 +0000
parents 314e947f85ea
children 7ff6dc4c3775
comparison
equal deleted inserted replaced
27755:3a803d09d619 27756:d0d4542bbdac
507 { 507 {
508 EXPLAIN (val1->name, change, VISIBLE_CHANGE, "help change", 508 EXPLAIN (val1->name, change, VISIBLE_CHANGE, "help change",
509 val1->help, val2->help); 509 val1->help, val2->help);
510 change = max (change, VISIBLE_CHANGE); 510 change = max (change, VISIBLE_CHANGE);
511 safe_free_str (val1->help); 511 safe_free_str (val1->help);
512 val1->key = safe_strdup (val2->help); 512 val1->help = safe_strdup (val2->help);
513 } 513 }
514 if (val1->enabled != val2->enabled) 514 if (val1->enabled != val2->enabled)
515 { 515 {
516 EXPLAIN (val1->name, change, VISIBLE_CHANGE, "enablement change", 516 EXPLAIN (val1->name, change, VISIBLE_CHANGE, "enablement change",
517 val1->enabled, val2->enabled); 517 val1->enabled, val2->enabled);