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)
diff --git a/src/fileio.c b/src/fileio.c
index 1d16ee8..388446a 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2099,12 +2099,12 @@
/* 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