added space folded test case and improved unfolding function
This commit is contained in:
@ -58,6 +58,8 @@ void unfolding_string(char *folded_string, char *unfolded_string)
|
||||
while (isblank(folded_string[i])) {
|
||||
i++;
|
||||
}
|
||||
unfolded_string[j] = ' ';
|
||||
j++;
|
||||
unfolded_string[j] = folded_string[i];
|
||||
j++;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user