Changeset 863 in MondoRescue for trunk/mondo/src/common/libmondo-string.c
- Timestamp:
- Oct 2, 2006, 12:26:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/common/libmondo-string.c
r783 r863 93 93 for (p = in_out; *p == ' '; p++); 94 94 asprintf(&scratch, p); 95 strip_spaces (scratch); 95 96 len = (int) strlen(scratch); 96 97 mid = width / 2; … … 103 104 paranoid_free(scratch); 104 105 in_out = out; 106 for (i = x + len ; i < width - 1; i++) { 107 in_out[i] = ' '; 108 } 109 in_out[i] = '\0'; 105 110 } 106 111
Note:
See TracChangeset
for help on using the changeset viewer.