Changeset 200 for trunk/src/helpers


Ignore:
Timestamp:
Aug 10, 2002, 4:40:23 PM (23 years ago)
Author:
umoeller
Message:

More fixes.

Location:
trunk/src/helpers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh2.c

    r194 r200  
    782782 *
    783783 *@@added V0.9.0 [umoeller]
     784 *@@changed V0.9.20 (2002-08-10) [umoeller]: fixed truncated LVM names
    784785 */
    785786
     
    796797{
    797798    APIRET arc = NO_ERROR;
    798     PPARTITIONINFO ppiNew = NEW(PARTITIONINFO);
    799     if (ppiNew)
     799    PPARTITIONINFO ppiNew;
     800    if (ppiNew = NEW(PARTITIONINFO))
    800801    {
    801802        ZERO(ppiNew);
     
    803804        // store data
    804805        ppiNew->bDisk = bDisk;
    805         if ((fBootable) && (pszBootName) )
     806        if (    (fBootable)
     807             && (pszBootName)
     808           )
    806809        {
    807             memcpy(ppiNew->szBootName, pszBootName, 8);
    808             ppiNew->szBootName[8] = 0;
     810            // fixed truncated LVM names V0.9.20 (2002-08-10) [umoeller]
     811            strhncpy0(ppiNew->szBootName,
     812                      pszBootName,
     813                      sizeof(ppiNew->szBootName));
    809814        }
    810815        else
  • trunk/src/helpers/gpih.c

    r196 r200  
    23802380    }
    23812381
    2382     return GpiWCBitBlt(hpsTarget,     // target HPS (bmp selected)
     2382    return GpiWCBitBlt(hpsTarget,       // target HPS (bmp selected)
    23832383                       hbmSource,
    2384                        4L,             // must always be 4
    2385                        &aptl[0],       // points array
     2384                       4L,              // must always be 4
     2385                       &aptl[0],        // points array
    23862386                       ROP_SRCCOPY,
    23872387                       BBO_IGNORE);
  • trunk/src/helpers/winh.c

    r199 r200  
    43944394    ulCharHeight = gpihQueryLineSpacing(hps);
    43954395
    4396     while (   (lDrawn)
    4397            && (lTotalDrawn < ulTextLen)
     4396    while (    (lDrawn)
     4397            && (lTotalDrawn < ulTextLen)
    43984398          )
    43994399    {
Note: See TracChangeset for help on using the changeset viewer.