Changeset 385 for branches


Ignore:
Timestamp:
Jun 5, 2010, 1:48:13 PM (15 years ago)
Author:
pr
Message:

Fix FAT filesystem detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/src/helpers/dosh.c

    r353 r385  
    3030
    3131/*
    32  *      This file Copyright (C) 1997-2007 Ulrich M”ller.
     32 *      This file Copyright (C) 1997-2010 Ulrich M”ller.
    3333 *      This file is part of the "XWorkplace helpers" source package.
    3434 *      This is free software; you can redistribute it and/or modify
     
    21352135 *      must be the first character), or this will
    21362136 *      return garbage.
     2137 *
     2138 *@@changed WarpIN V1.0.20 (2010-06-05) [pr]: now compares FSD name correctly
    21372139 */
    21382140
     
    21612163        // Each data field following fsqBuffer.szName begins
    21622164        // immediately after the previous item.
    2163         if (!strncmp((PSZ)&(pfsqBuffer->szName) + pfsqBuffer->cbName + 1,
     2165        if (!strncmp(pfsqBuffer->szName + pfsqBuffer->cbName + 1,
    21642166                     "FAT",
    2165                      3))
     2167                     pfsqBuffer->cbFSDName))
    21662168            brc = TRUE;
    21672169    }
Note: See TracChangeset for help on using the changeset viewer.