diff options
| author | Sadeep Madurange <smadurange@users.noreply.github.com> | 2021-12-22 22:48:59 +0800 |
|---|---|---|
| committer | Sadeep Madurange <smadurange@users.noreply.github.com> | 2021-12-22 22:48:59 +0800 |
| commit | 9b9572d253809aaaa891b6b006a801759790d049 (patch) | |
| tree | 5c141cff176296e46f537d1095e55dcf5b710b0b | |
| parent | 184e8656337f33654b849f00abcc6f6df3c17432 (diff) | |
| download | k&r-exercises-9b9572d253809aaaa891b6b006a801759790d049.tar.gz | |
4.11
| -rw-r--r-- | 4/11.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,6 +130,7 @@ int getop(char s[]) { if (pc != ' ' && pc != '\t') { s[0] = c = pc; + s[1] = 0; pc = ' '; } else { while ((s[0] = c = getch()) == ' ' || c == '\t') |
