Displaying 1 result from an estimated 1 matches for "gotspace".
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
...ne at the last word break (bunch of consecutive blanks).
- Makes a new line out of the first part and prints it using
- printline. Makes a new line out of the second part and returns.
-
-****************************************************************************/
-
-void splitline()
-{
- int i,gotspace,lastspace,len1,len2;
- inchr *part1,*part2;
-
- part1 = (inchr*)myalloc(sizeof(inchr)*(inchrlinelen+1));
- part2 = (inchr*)myalloc(sizeof(inchr)*(inchrlinelen+1));
- gotspace = 0;
- for (i=inchrlinelen-1;i>=0;i--) {
- if (!gotspace && inchrline[i]=='' '') {
-...