- Timestamp:
- Sep 26, 2006, 2:47:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-string.c
r831 r841 98 98 for (p = in_out; *p == ' '; p++); 99 99 strcpy(scratch, p); 100 strip_spaces (scratch); 100 101 len = (int) strlen(scratch); 101 102 mid = width / 2; … … 106 107 in_out[i] = '\0'; 107 108 strcat(in_out, scratch); 109 for (i = x + len ; i < width - 1; i++) { 110 in_out[i] = ' '; 111 } 112 in_out[i] = '\0'; 108 113 } 109 114
Note:
See TracChangeset
for help on using the changeset viewer.