Changeset 271 for trunk/src


Ignore:
Timestamp:
Dec 18, 2004, 6:09:24 PM (21 years ago)
Author:
pr
Message:

Fixes for Ctrl-Z processing & WarpIN CONFIGSYS processing

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cppbase/bs_config.cpp

    r267 r271  
    252252            // V0.9.12 (2001-05-22) [umoeller]
    253253
     254    _iReplaceMode = CFGRPL_ADD; // V1.0.4 (2004-12-18) [pr]
     255    _iVertical = CFGVRT_BOTTOM;
     256    // Moved above statements here from the else{} block below. If there wasn't a modifier,
     257    // this was uninitialised garbage and CONFIG.SYS never got modified.
     258
    254259    // now check if we have modifiers
    255260    PSZ     pSep;
     
    275280        // now check for the replace mode;
    276281        // the default is 0 (CFGRPL_ADD)
    277         _iReplaceMode = CFGRPL_ADD;
    278282        fVerticalsAllowed = TRUE;
    279283
     
    356360
    357361        // now parse vertical modifiers
    358         _iVertical = CFGVRT_BOTTOM;      // default
    359362        BOOL fVerticalFound = FALSE;
    360363        if (strhistr(pModifiers, "ADDTOP"))
  • trunk/src/helpers/dosh.c

    r265 r271  
    32273227                // all the time when saving a file
    32283228                // V0.9.18 (2002-03-08) [umoeller]
    3229                 if (p = strchr(pszContent, '\26'))
     3229                // if (p = strchr(pszContent, '\26')) What the hell is this??? Octal 26 = Decimal 22 != Ctrl-Z
     3230                if (p = strchr(pszContent, '\x1A')) // V1.0.4 (2004-12-18) [pr]
    32303231                {
    32313232                    *p = '\0';
Note: See TracChangeset for help on using the changeset viewer.