summaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-04 11:23:08 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-04 11:23:08 (GMT)
commit277edde19f6179c1f79d4e6099dfc9e80e5a1c11 (patch)
treea5230e0aa18f7f658eeea0133b52569f641cc124 /kicad
parent76192233b3ea6f1167126533cc8bf880e9599ab7 (diff)
downloadeeshow-277edde19f6179c1f79d4e6099dfc9e80e5a1c11.zip
eeshow-277edde19f6179c1f79d4e6099dfc9e80e5a1c11.tar.gz
eeshow-277edde19f6179c1f79d4e6099dfc9e80e5a1c11.tar.bz2
kicad/ext.c (classify_files): call do_classify_files_ab, not classify_files_ab
Else, we may crash because classify_files_ab expect "b" to be non-NULL.
Diffstat (limited to 'kicad')
-rw-r--r--kicad/ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/ext.c b/kicad/ext.c
index 1764c37..165687a 100644
--- a/kicad/ext.c
+++ b/kicad/ext.c
@@ -111,7 +111,7 @@ static void do_classify_files_ab(struct file_names *a, struct file_names *b,
void classify_files(struct file_names *fn, char *const *args,
unsigned n_args)
{
- classify_files_ab(fn, NULL, args, n_args);
+ do_classify_files_ab(fn, NULL, args, n_args);
}