aboutsummaryrefslogtreecommitdiff
path: root/ch3/3-02_escape.c
diff options
context:
space:
mode:
Diffstat (limited to 'ch3/3-02_escape.c')
-rw-r--r--ch3/3-02_escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ch3/3-02_escape.c b/ch3/3-02_escape.c
index 04910ec..25bfa34 100644
--- a/ch3/3-02_escape.c
+++ b/ch3/3-02_escape.c
@@ -17,7 +17,7 @@ void escape(char s[], char t[]) {
int i, j;
j = 0;
for (i = 0; t[i] != '\0'; i++) {
- switch(t[i]) {
+ switch (t[i]) {
case '\n':
s[j++] = '\\';
s[j++] = 'n';