Changeset 10053 for trunk/src


Ignore:
Timestamp:
Apr 30, 2003, 1:03:48 PM (22 years ago)
Author:
sandervl
Message:

DT: Fixed PathIsUrlA/W

Location:
trunk/src/shlwapi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shlwapi/ordinal.c

    r8584 r10053  
    185185    const SHL_2_inet_scheme *inet_pro;
    186186
     187    y->fcncde = URL_SCHEME_INVALID;
    187188    if (y->size != 0x18) return E_INVALIDARG;
    188189    /* FIXME: leading white space generates error of 0x80041001 which
     
    241242    INT len;
    242243
     244    y->fcncde = URL_SCHEME_INVALID;
    243245    if (y->size != 0x18) return E_INVALIDARG;
    244246    /* FIXME: leading white space generates error of 0x80041001 which
  • trunk/src/shlwapi/path.c

    r8584 r10053  
    17761776    base.size = 24;
    17771777    res1 = SHLWAPI_1(lpstrPath, &base);
    1778     return (base.fcncde) ? TRUE : FALSE;
     1778    return (base.fcncde && (base.fcncde != -1)) ? TRUE : FALSE;
    17791779}
    17801780
     
    17921792    base.size = 24;
    17931793    res1 = SHLWAPI_2(lpstrPath, &base);
    1794     return (base.fcncde) ? TRUE : FALSE;
     1794    return (base.fcncde && (base.fcncde != -1)) ? TRUE : FALSE;
    17951795}
    17961796
Note: See TracChangeset for help on using the changeset viewer.