[geocode-glib] forward: fix typo in nominatim result attribute



commit f8b797ee70d996a06a0aca2f4a9432cb9a6d24cf
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Thu Jan 2 14:55:43 2014 +0100

    forward: fix typo in nominatim result attribute
    
    The check for attribute 'postalcode' in Nominatim search results
    is wrong. The correct attribute is 'postcode'.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721340

 geocode-glib/geocode-forward.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/geocode-forward.c b/geocode-glib/geocode-forward.c
index ad2f975..0de5f50 100644
--- a/geocode-glib/geocode-forward.c
+++ b/geocode-glib/geocode-forward.c
@@ -657,7 +657,7 @@ static const char const *attributes[] = {
        "state",
        "county",
        "state_district",
-       "postalcode",
+       "postcode",
        "city",
        "suburb",
        "village",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]