Changeset 3413 in MondoRescue for branches/3.2/mondo/src/common/libmondo-string.c
- Timestamp:
- Aug 9, 2015, 6:15:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-string.c
r3377 r3413 9 9 #include "my-stuff.h" 10 10 #include "mr_mem.h" 11 #include "mr_str.h" 11 12 #include "mondostructures.h" 12 13 #include "libmondo-string.h" … … 97 98 x = mid - len / 2; 98 99 for (i = 0; i < x; i++) { 99 mr_strcat(out, ' ');100 mr_strcat(out," "); 100 101 } 101 102 mr_strcat(out, scratch); 102 103 mr_free(scratch); 103 104 for (i = x + len ; i < width - 1; i++) { 104 mr_strcat(out, ' ');105 mr_strcat(out," "); 105 106 } 106 107 return(out);
Note:
See TracChangeset
for help on using the changeset viewer.