summaryrefslogtreecommitdiff
path: root/gopher
diff options
context:
space:
mode:
Diffstat (limited to 'gopher')
-rw-r--r--gopher/gophermap/extended.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gopher/gophermap/extended.go b/gopher/gophermap/extended.go
index 7058c45..fed8dfc 100644
--- a/gopher/gophermap/extended.go
+++ b/gopher/gophermap/extended.go
@@ -181,7 +181,7 @@ func (edoc ExtendedMapDocument) Compatible(cwd string, settings FileSystemSettin
case ExtensionType:
from, to, found := strings.Cut(item.Display, "=")
if !found {
- return nil, "", InvalidLine(num)
+ return nil, "", InvalidLine(num+1)
}
extensions[from] = types.Status(to[0])
case UserListType: