mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: escape backslashes in ImageMagick font path parameter
This commit is contained in:
parent
d84f0b1265
commit
a82d2ccddb
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ function M:preload(job)
|
||||||
"-gravity",
|
"-gravity",
|
||||||
"center",
|
"center",
|
||||||
"-font",
|
"-font",
|
||||||
tostring(job.file.path),
|
tostring(job.file.path):gsub("\\", "\\\\"),
|
||||||
"-pointsize",
|
"-pointsize",
|
||||||
64,
|
64,
|
||||||
"xc:white",
|
"xc:white",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue