summaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-23 14:48:55 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-23 14:48:55 -0300
commit7bc3c7ba2906af060e694d0fab09b8f4f52d13e5 (patch)
treedc2c0ded25e435e6282b838747cfc8d05ee5204b /kicad
parentf5fa04cbf3ac9011f4f144cd68543f8d9536e3fd (diff)
downloadeeshow-7bc3c7ba2906af060e694d0fab09b8f4f52d13e5.tar.gz
eeshow-7bc3c7ba2906af060e694d0fab09b8f4f52d13e5.tar.bz2
eeshow-7bc3c7ba2906af060e694d0fab09b8f4f52d13e5.zip
kicad/sch-parse.c, lib-parse.c: git rid of some more \n
Diffstat (limited to 'kicad')
-rw-r--r--kicad/lib-parse.c4
-rw-r--r--kicad/sch-parse.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/kicad/lib-parse.c b/kicad/lib-parse.c
index 47081e7..122c389 100644
--- a/kicad/lib-parse.c
+++ b/kicad/lib-parse.c
@@ -290,7 +290,7 @@ static bool lib_parse_line(const struct file *file,
if (n == 12) {
if (zero1)
fatal("%u: only understand 0 x x\n"
- "\"%s\"\n", file->lineno, line);
+ "\"%s\"", file->lineno, line);
obj->u.text.style = decode_style(style);
obj->type = lib_obj_text;
return 1;
@@ -315,7 +315,7 @@ static bool lib_parse_line(const struct file *file,
default:
BUG("invalid state %d", lib->state);
}
- fatal("%u: cannot parse\n\"%s\"\n", file->lineno, line);
+ fatal("%u: cannot parse\n\"%s\"", file->lineno, line);
}
diff --git a/kicad/sch-parse.c b/kicad/sch-parse.c
index 08d7dd8..9f98d0f 100644
--- a/kicad/sch-parse.c
+++ b/kicad/sch-parse.c
@@ -42,7 +42,7 @@ static enum dwg_shape do_decode_shape(const char *s)
return dwg_tri;
if (!strcmp(s, "BiDi"))
return dwg_bidir;
- fatal("unknown shape: \"%s\"\n", s);
+ fatal("unknown shape: \"%s\"", s);
}
@@ -198,7 +198,7 @@ static enum dwg_shape decode_form(char form)
case 'U':
return dwg_unspec;
default:
- fatal("unknown form: \"%c\"\n", form);
+ fatal("unknown form: \"%c\"", form);
}
}
@@ -215,7 +215,7 @@ static int decode_side(char side)
case 'T':
return 3; /* down */
default:
- fatal("unknown side: \"%c\"\n", side);
+ fatal("unknown side: \"%c\"", side);
}
}
@@ -601,7 +601,7 @@ static bool parse_line(const struct file *file, void *user, const char *line)
default:
BUG("invalid state %d", ctx->state);
}
- fatal("%s:%u: cannot parse\n\"%s\"\n", file->name, file->lineno, line);
+ fatal("%s:%u: cannot parse\n\"%s\"", file->name, file->lineno, line);
}