Skip to content

Commit 73f647b

Browse files
authored
Update copy_io_nl.c
1 parent 56c7779 commit 73f647b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

chapter_1/exercise_1_12/copy_io_nl.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ int main()
99
if(last_char!=' ' && last_char!='\t' && last_char!='\n'){
1010
putchar('\n');
1111
}
12-
last_char=c;
1312
}
1413
else {
1514
putchar(c);
16-
last_char=c;
17-
}
15+
}
16+
last_char=c;
1817
}
1918
}

0 commit comments

Comments
 (0)