Changeset 200 for trunk/src/helpers
- Timestamp:
- Aug 10, 2002, 4:40:23 PM (23 years ago)
- Location:
- trunk/src/helpers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/dosh2.c
r194 r200 782 782 * 783 783 *@@added V0.9.0 [umoeller] 784 *@@changed V0.9.20 (2002-08-10) [umoeller]: fixed truncated LVM names 784 785 */ 785 786 … … 796 797 { 797 798 APIRET arc = NO_ERROR; 798 PPARTITIONINFO ppiNew = NEW(PARTITIONINFO);799 if (ppiNew )799 PPARTITIONINFO ppiNew; 800 if (ppiNew = NEW(PARTITIONINFO)) 800 801 { 801 802 ZERO(ppiNew); … … 803 804 // store data 804 805 ppiNew->bDisk = bDisk; 805 if ((fBootable) && (pszBootName) ) 806 if ( (fBootable) 807 && (pszBootName) 808 ) 806 809 { 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)); 809 814 } 810 815 else -
trunk/src/helpers/gpih.c
r196 r200 2380 2380 } 2381 2381 2382 return GpiWCBitBlt(hpsTarget, // target HPS (bmp selected)2382 return GpiWCBitBlt(hpsTarget, // target HPS (bmp selected) 2383 2383 hbmSource, 2384 4L, // must always be 42385 &aptl[0], // points array2384 4L, // must always be 4 2385 &aptl[0], // points array 2386 2386 ROP_SRCCOPY, 2387 2387 BBO_IGNORE); -
trunk/src/helpers/winh.c
r199 r200 4394 4394 ulCharHeight = gpihQueryLineSpacing(hps); 4395 4395 4396 while ( (lDrawn)4397 && (lTotalDrawn < ulTextLen)4396 while ( (lDrawn) 4397 && (lTotalDrawn < ulTextLen) 4398 4398 ) 4399 4399 {
Note:
See TracChangeset
for help on using the changeset viewer.