Changeset 2356 in MondoRescue for branches/2.2.10/mondo/src/mondorestore/mondo-rstr-newt.c
- Timestamp:
- Aug 29, 2009, 1:00:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/mondorestore/mondo-rstr-newt.c
r2352 r2356 1966 1966 while (!finished) { 1967 1967 flaws_str = evaluate_mountlist(mountlist, &res); 1968 spread_flaws_across_three_lines(flaws_str, flaws_str_A, flaws_str_B, flaws_str_C); 1969 1968 if (strlen(flaws_str) > 0) { 1969 mr_asprintf(flaws_str_A, "%s", flaws_str + 1); 1970 } else { 1971 mr_asprintf(flaws_str_A, ""); 1972 } 1973 if (strlen(flaws_str_A) >= 74) { 1974 for (i = 74; flaws_str_A[i] != ' '; i--); 1975 mr_asprintf(flaws_str_B, "%s", flaws_str_A + i + 1); 1976 flaws_str_A[i] = '\0'; 1977 } else { 1978 mr_asprintf(flaws_str_B, ""); 1979 } 1980 if (strlen(flaws_str_B) >= 74) { 1981 for (i = 74; flaws_str_B[i] != ' '; i--); 1982 mr_asprintf(flaws_str_C, "%s", flaws_str_B + i + 1); 1983 flaws_str_B[i] = '\0'; 1984 } else { 1985 mr_asprintf(flaws_str_C, ""); 1986 } 1970 1987 mr_free(flaws_str); 1971 1988
Note:
See TracChangeset
for help on using the changeset viewer.