HGview: improve patch