Ticket #207: 99a_fix-regex-bol-match.patch
File 99a_fix-regex-bol-match.patch, 492 bytes (added by Patrick Winnertz, 16 years ago) |
---|
-
mc-4.6.2~git20080311/edit/editcmd.c
old new 1721 1721 int found_start, match_bol, move_win = 0; 1722 1722 1723 1723 while (start + offset < last_byte) { 1724 match_bol = ( offset == 0 || (*get_byte) (data, start + offset - 1) == '\n');1724 match_bol = (start == 0 || (*get_byte) (data, start + offset - 1) == '\n'); 1725 1725 if (!move_win) { 1726 1726 p = start + offset; 1727 1727 q = 0;