Changeset 200
- Timestamp:
- Aug 10, 2002, 4:40:23 PM (23 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dosh.h
r194 r200 843 843 typedef struct _PARTITIONINFO 844 844 { 845 BYTE bDisk; // drive number 846 CHAR cLetter; // probable drive letter or ' ' if none 847 BYTE bFSType; // file system type 848 PCSZ pcszFSType; // file system name (as returned by 849 // doshType2FSName, can be NULL!) 850 BOOL fPrimary; // primary partition? 851 BOOL fBootable; // bootable by Boot Manager? 852 CHAR szBootName[9]; // Boot Manager name, if (fBootable) 853 ULONG ulSize; // size MBytes 854 PPARTITIONINFO pNext; // next info or NULL if last 845 BYTE bDisk; // drive number 846 CHAR cLetter; // probable drive letter or ' ' if none 847 BYTE bFSType; // file system type 848 PCSZ pcszFSType; // file system name (as returned by 849 // doshType2FSName, can be NULL!) 850 BOOL fPrimary; // primary partition? 851 BOOL fBootable; // bootable by Boot Manager? 852 CHAR szBootName[21]; // Boot Manager name, if (fBootable) 853 // extended for LVM names V0.9.20 (2002-08-10) [umoeller] 854 ULONG ulSize; // size MBytes 855 PPARTITIONINFO pNext; // next info or NULL if last 855 856 } PARTITIONINFO; 856 857 -
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.