about summary refs log tree commit diff stats
path: root/src/local
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-07 16:34:49 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-07 16:34:49 +0100
commit44faa6c9115a89e64c9e6117e6f3f80b1ca3f093 (patch)
treea69164ed0fe697b8f36a830e4a8a809e700f9684 /src/local
parente03c9a450b20c65b094348056f65b891fb95b3f4 (diff)
downloadchawan-44faa6c9115a89e64c9e6117e6f3f80b1ca3f093.tar.gz
url: fix compilation on Nim 1.6.14
it handles side effects differently
Diffstat (limited to 'src/local')
-rw-r--r--src/local/container.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/container.nim b/src/local/container.nim
index 7ec85265..a4138634 100644
--- a/src/local/container.nim
+++ b/src/local/container.nim
@@ -479,7 +479,7 @@ func getHoverText*(container: Container): string =
       return container.hoverText[t]
   ""
 
-func isHoverURL*(container: Container; url: URL): bool =
+proc isHoverURL*(container: Container; url: URL): bool =
   let hoverurl = parseURL(container.hoverText[htLink])
   return hoverurl.isSome and url.host == hoverurl.get.host