Changeset 2355 in MondoRescue for branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c
- Timestamp:
- Aug 29, 2009, 12:56:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c
r2350 r2355 1976 1976 while (!finished) { 1977 1977 flaws_str = evaluate_mountlist(mountlist, &res); 1978 spread_flaws_across_three_lines(flaws_str, flaws_str_A, flaws_str_B, flaws_str_C); 1979 1978 if (strlen(flaws_str) > 0) { 1979 mr_asprintf(&flaws_str_A, "%s", flaws_str + 1); 1980 } else { 1981 mr_asprintf(&flaws_str_A, ""); 1982 } 1983 if (strlen(flaws_str_A) >= 74) { 1984 for (i = 74; flaws_str_A[i] != ' '; i--); 1985 mr_asprintf(&flaws_str_B, "%s", flaws_str_A + i + 1); 1986 flaws_str_A[i] = '\0'; 1987 } else { 1988 mr_asprintf(&flaws_str_B, ""); 1989 } 1990 if (strlen(flaws_str_B) >= 74) { 1991 for (i = 74; flaws_str_B[i] != ' '; i--); 1992 mr_asprintf(&flaws_str_C, "%s", flaws_str_B + i + 1); 1993 flaws_str_B[i] = '\0'; 1994 } else { 1995 mr_asprintf(&flaws_str_C, ""); 1996 } 1980 1997 mr_free(flaws_str); 1981 1998
Note:
See TracChangeset
for help on using the changeset viewer.