diff options
Diffstat (limited to 'resources/image_cache.go')
-rw-r--r-- | resources/image_cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/image_cache.go b/resources/image_cache.go index 1bb92b6ca..b5832f740 100644 --- a/resources/image_cache.go +++ b/resources/image_cache.go @@ -72,7 +72,7 @@ func (c *imageCache) getOrCreate( // For the file cache we want to generate and store it once if possible. fileKeyPath := relTarget if fi := parent.root.getFileInfo(); fi != nil { - fileKeyPath.dir = filepath.ToSlash(filepath.Dir(fi.Meta().Path())) + fileKeyPath.dir = filepath.ToSlash(filepath.Dir(fi.Meta().Path)) } fileKey := fileKeyPath.path() |