From 82d318879c897b3d665767d74806cd33fe6791c0 Mon Sep 17 00:00:00 2001 From: zlg Date: Tue, 23 Apr 2013 13:33:25 -0500 Subject: Add exercise descriptions and answers for ch1 * Corrected behavior in solutions for 1-9 and 1-23 --- ch1/1-09_single-spacing.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ch1/1-09_single-spacing.c') diff --git a/ch1/1-09_single-spacing.c b/ch1/1-09_single-spacing.c index 4bf802a..ab629c5 100644 --- a/ch1/1-09_single-spacing.c +++ b/ch1/1-09_single-spacing.c @@ -21,6 +21,7 @@ int main(void) { } spaces++; } else { + spaces = 0; putchar(c); } } -- cgit v1.2.3-54-g00ecf