Notes on DOS compilation.
authorDavid Griffith <dave@661.org>
Tue, 8 Oct 2019 00:54:26 +0000 (17:54 -0700)
committerDavid Griffith <dave@661.org>
Tue, 8 Oct 2019 00:54:26 +0000 (17:54 -0700)
src/common/files.c

index 4e1bd663f6acf567611a28703f2612339a10cef2..ce978ba6323fbc9e70c55d344aa5ee323d47ad11 100644 (file)
@@ -147,8 +147,8 @@ void script_char(zchar c)
        }
 
 #ifdef __MSDOS__
-       if (c > 0xff)
-               c = '?';
+       if (c > 0xff)   /* Should always be false */
+               c = '?';        /* Unreachable */
        if (c >= ZC_LATIN1_MIN)
                c = latin1_to_ibm[c - ZC_LATIN1_MIN];
        fputc(c, sfp);