diff options
Diffstat (limited to 'inst/kmlread.m')
-rw-r--r-- | inst/kmlread.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inst/kmlread.m b/inst/kmlread.m index c96f97b..c1ccd02 100644 --- a/inst/kmlread.m +++ b/inst/kmlread.m @@ -1,4 +1,4 @@ -## Copyright (C) 2018-2020 Philip Nienhuis +## Copyright (C) 2018-2022 Philip Nienhuis ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License as published by @@ -61,7 +61,7 @@ function outp = kmlread (fname) '<Placemark.*?>.*?<name>(.+?)</name>.*?<Point', "tokens"); if (! isempty (pnam)) pname = cell2mat (pnam){end}; - outp(end).Name = pnam; + outp(end).Name = pname; else outp(end).Name = ["Point #" num2str(ipt)]; endif |