Changeset 2414 in MondoRescue for branches/2.2.10/mondo/src/common/newt-specific.c
- Timestamp:
- Sep 20, 2009, 2:53:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/newt-specific.c
r2382 r2414 1401 1401 void popup_changelist_from_file(char *source_file) { 1402 1402 1403 char *reason ;1403 char *reason = NULL; 1404 1404 newtComponent myForm; 1405 1405 newtComponent bClose; … … 1472 1472 newtFormAddComponents(myForm, headerMsg, fileListbox, bClose, bSelect, NULL); 1473 1473 1474 malloc_string(reason);1475 1474 while (!finished) { 1476 1475 b_res = newtRunForm(myForm); … … 1487 1486 currline = i; 1488 1487 if (filelist->entries > 0) { 1489 severity_of_difference(filelist->el[currline]. filename, reason);1488 severity_of_difference(filelist->el[currline]. filename, &reason); 1490 1489 mr_asprintf(tmp, "%s --- %s", filelist->el[currline].filename, reason); 1491 1490 1492 1491 popup_and_OK(tmp); 1493 1492 mr_free(tmp); 1493 mr_free(reason); 1494 1494 } 1495 1495 } 1496 1496 } 1497 1497 } 1498 paranoid_free(reason);1499 1498 1500 1499 newtFormDestroy(myForm);
Note:
See TracChangeset
for help on using the changeset viewer.