mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.643
Problem: Using the default file format for Mac files. (Issue 77) Solution: Reset the try_mac counter in the right place. (Oswald)
This commit is contained in:
@@ -2099,12 +2099,12 @@ rewind_retry:
|
||||
/* First try finding a NL, for Dos and Unix */
|
||||
if (try_dos || try_unix)
|
||||
{
|
||||
/* Reset the carriage return counter. */
|
||||
if (try_mac)
|
||||
try_mac = 1;
|
||||
|
||||
for (p = ptr; p < ptr + size; ++p)
|
||||
{
|
||||
/* Reset the carriage return counter. */
|
||||
if (try_mac)
|
||||
try_mac = 1;
|
||||
|
||||
if (*p == NL)
|
||||
{
|
||||
if (!try_unix
|
||||
|
Reference in New Issue
Block a user