summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Bergren2008-06-12 21:32:19 (GMT)
committer Brandon Bergren2008-06-12 21:32:19 (GMT)
commita58be3116294861809dd1278883442cb9557241b (patch)
treec4680ca1bea66c114136617975a6e09de9e48131
parent603ab33bb8019bcf333b4e015772cdf19481578d (diff)
Fix busted offset for macro markers.
-rw-r--r--gmap.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap.module b/gmap.module
index fa3fd00..9ba1fc5 100644
--- a/gmap.module
+++ b/gmap.module
@@ -471,7 +471,7 @@ function gmap_parse_macro($instring, $ver = 2) {
}
// Break down into points
$points = explode('+', $t);
- $offset = 0;
+ $offset = -1;
foreach ($points as $point) {
$marker = array();
$offset++;