Skip to content

Commit 988e08b

Browse files
authored
Update histogram.c
According to PR review.
1 parent d066343 commit 988e08b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

chapter_1/exercise_1_13/histogram.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ int main(void)
4343

4444
word_count_index = 0;
4545
}
46-
if (c == EOF) break;
46+
if (c == EOF)
47+
{
48+
break;
49+
}
4750
}
4851
else
4952
{

0 commit comments

Comments
 (0)