diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-08-25 22:01:07 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-08-25 22:01:07 +0000 |
commit | dafca0ad2b4d1a6f9f57ff1cdbd9dfa718b53f0d (patch) | |
tree | 2e28b291fcb818314a4dfca755971a49acedfd98 /navit/file.c | |
parent | a41b678bfc7b91b02c8de76c1af12373d2b9c5bc (diff) | |
download | navit-dafca0ad2b4d1a6f9f57ff1cdbd9dfa718b53f0d.tar.gz |
Fix:Core:Typo
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4714 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.c')
-rw-r--r-- | navit/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/file.c b/navit/file.c index 14324aa50..5215378a0 100644 --- a/navit/file.c +++ b/navit/file.c @@ -847,7 +847,7 @@ file_wordexp_new(const char *pattern) int file_wordexp_get_count(struct file_wordexp *wexp) { - if (wexp->error) + if (wexp->err) return 1; return wexp->we.we_wordc; } @@ -855,7 +855,7 @@ file_wordexp_get_count(struct file_wordexp *wexp) char ** file_wordexp_get_array(struct file_wordexp *wexp) { - if (wexp->error) + if (wexp->err) return &wexp->pattern; return wexp->we.we_wordv; } |