From: martin-s Date: Thu, 25 Aug 2011 22:01:07 +0000 (+0000) Subject: Fix:Core:Typo X-Git-Tag: navit-0.5.0.5194svn~481 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f4f4e44f4af90355107afcd42531fb11cceb2c0;p=profile%2Fivi%2Fnavit.git Fix:Core:Typo git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4714 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/file.c b/navit/navit/file.c index 14324aa..5215378 100644 --- a/navit/navit/file.c +++ b/navit/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; }