Changeset 1708 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Feb 9, 2014, 8:05:14 PM (12 years ago)
Author:
Gregg Young
Message:

Fix trap on attempting to open a file without an extention Ticket 496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1694 r1708  
    36053605
    36063606
    3607   if (!strcmp(strupr(strrchr(arcname, '.') + 1), "LZ")) {
     3607  if (strrchr(arcname, '.')) {
     3608    if (!strcmp(strupr(strrchr(arcname, '.') + 1), "LZ")) {
    36083609      saymsg(MB_ENTER | MB_ICONASTERISK, HWND_DESKTOP, GetPString(IDS_LZIPLIMITATION),
    36093610             GetPString(IDS_LZIPNOLIST));
    3610     return -1;
     3611      return -1;
     3612    }
    36113613  }
    36123614
Note: See TracChangeset for help on using the changeset viewer.