Skip to content

Commit

Permalink
w_register_font: Revert 2c2b44e because it's not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaitodor authored and austin987 committed Dec 20, 2017
1 parent 552c087 commit 7de11b2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -2808,12 +2808,6 @@ w_register_font()
*.ttf|*.ttc) W_font="$W_font (TrueType)";;
esac

# See https://github.com/Winetricks/winetricks/issues/896
if [ ! -f "$W_file" ] && [ -f "${W_FONTSDIR_UNIX}/${W_file}" ]; then
W_file_unescaped="${W_FONTSDIR_WIN}\\${W_file}"
W_file="$(echo "$W_file_unescaped" | sed -e 's!\\!\\\\!g')"
fi

# Kludge: use _r to avoid \r expansion in w_try
cat > "$W_TMP"/_register-font.reg <<_EOF_
REGEDIT4
Expand Down

0 comments on commit 7de11b2

Please sign in to comment.