From 73fdc7d47f7922603816324e648da1f5e6d72c17 Mon Sep 17 00:00:00 2001 From: mpl Date: Fri, 11 Jul 2014 16:53:29 +0200 Subject: [PATCH] importer/twitter: coordinates bugfix Change-Id: I089f9125a231277bdabe7ccc29280f62ecd2cc51 --- pkg/importer/twitter/twitter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/importer/twitter/twitter.go b/pkg/importer/twitter/twitter.go index 9b7b9fde1..9b47ecf55 100644 --- a/pkg/importer/twitter/twitter.go +++ b/pkg/importer/twitter/twitter.go @@ -745,7 +745,7 @@ func latLong(g *geo, c *coords) (lat, long float64, ok bool) { } } if c != nil && len(c.Coordinates) == 2 { - co := g.Coordinates + co := c.Coordinates if co[0] != 0 && co[1] != 0 { return co[1], co[0], true }