Ignore:
Timestamp:
Jun 18, 2009, 11:53:26 AM (16 years ago)
Author:
ydario
Message:

Kernel32 updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmcomm.cpp

    r10433 r21302  
    148148    }
    149149
    150     if(namelength == 5 && lpDeviceName[4] != ':') {
     150    if(namelength > 5 || (namelength == 5 && lpDeviceName[4] != ':')) {
    151151        return FALSE;
    152152    }
Note: See TracChangeset for help on using the changeset viewer.