Changeset 1780 for trunk/dll/command.c


Ignore:
Timestamp:
Jun 28, 2014, 8:05:22 PM (11 years ago)
Author:
Gregg Young
Message:

Fixed errors found by cppcheck. Most had the potential to cause difficult to reproduce traps. Also fixed retry code for failure to create an archive work directory and the failure of the mailto code to drop trailing >.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/command.c

    r1673 r1780  
    4242  03 Jul 11 GKY Fixed problem with creation of duplicate command IDs.
    4343  24 Sep 11 GKY Fixed trap caused by selecting cancel from duplicate hotkey dialog if adding or replacing a command
     44  28 Jun 14 GKY Fix errors identified with CPPCheck
    4445
    4546***********************************************************************/
     
    400401          if (!xfgets_bstripcr(flags, sizeof(flags), fp, pszSrcFile, __LINE__))
    401402            break;
    402           flags[34] = 0;
     403          flags[33] = 0;
    403404          if (!pszCmdLine)
    404405            continue;
Note: See TracChangeset for help on using the changeset viewer.