Fixes.
h3rald h3rald@h3rald.com
Fri, 19 Mar 2021 17:32:24 +0100
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/fae.nim
→
src/fae.nim
@@ -22,11 +22,11 @@ test: bool
silent: bool when defined(windows): - {.passL: "-static -Lfaepkg/vendor/pcre/windows -lpcre".} + {.passL: "-static -Lsrc/faepkg/vendor/pcre/windows -lpcre".} elif defined(linux): - {.passL: "-static -Lfaepkg/vendor/pcre/linux -lpcre".} + {.passL: "-static -Lsrc/faepkg/vendor/pcre/linux -lpcre".} elif defined(macosx): - {.passL: "-Bstatic -Lfaepkg/vendor/pcre/macosx -lpcre -Bdynamic".} + {.passL: "-Bstatic -Lsrc/faepkg/vendor/pcre/macosx -lpcre -Bdynamic".} addExitProc(resetAttributes)@@ -151,7 +151,7 @@ if options.substitute != "":
displayFile(f) displayMatch(contents, matchstart, matchend, fgRed, lineN) var substitute = options.substitute - var replacement = contents.replace(options.regex, substitute, matchstart, options) + var replacement = contents.replace(options.regex, substitute, matchstart) offset = substitute.len-(matchend-matchstart+1) for i in 0..(f.len+1): stdout.write(" ")