Changeset 21916 for trunk/src/oleaut32/olefont.c
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (2 props)
-
src/oleaut32/olefont.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/oleaut32/olefont.c
r9400 r21916 638 638 return E_POINTER; 639 639 640 psize-> s.Hi = 0;641 psize-> s.Lo = this->description.cySize.s.Lo;640 psize->DUMMYSTRUCTNAME_DOT Hi = 0; 641 psize->DUMMYSTRUCTNAME_DOT Lo = this->description.cySize.DUMMYSTRUCTNAME_DOT Lo; 642 642 643 643 return S_OK; … … 654 654 { 655 655 _ICOM_THIS(OLEFontImpl, iface); 656 TRACE("(%p)->(%ld)\n", this, size. s.Lo);657 this->description.cySize. s.Hi = 0;658 this->description.cySize. s.Lo = size.s.Lo;656 TRACE("(%p)->(%ld)\n", this, size.DUMMYSTRUCTNAME_DOT Lo); 657 this->description.cySize.DUMMYSTRUCTNAME_DOT Hi = 0; 658 this->description.cySize.DUMMYSTRUCTNAME_DOT Lo = size.DUMMYSTRUCTNAME_DOT Lo; 659 659 OLEFont_SendNotify(this, DISPID_FONT_SIZE); 660 660 … … 936 936 IFont_get_Size(iface, &cySize); 937 937 938 fontHeight = MulDiv(cySize. s.Lo, 2540L, 72L);938 fontHeight = MulDiv(cySize.DUMMYSTRUCTNAME_DOT Lo, 2540L, 72L); 939 939 fontHeight = MulDiv(fontHeight, this->cyLogical,this->cyHimetric); 940 940 … … 1004 1004 IFont_get_Size(iface, &cySize); 1005 1005 1006 fontHeight = MulDiv(cySize. s.Lo, 2540L, 72L);1006 fontHeight = MulDiv(cySize.DUMMYSTRUCTNAME_DOT Lo, 2540L, 72L); 1007 1007 fontHeight = MulDiv(fontHeight, this->cyLogical,this->cyHimetric); 1008 1008 … … 1401 1401 * Size 1402 1402 */ 1403 IStream_Read(pLoadStream, &this->description.cySize. s.Lo, 4, &cbRead);1403 IStream_Read(pLoadStream, &this->description.cySize.DUMMYSTRUCTNAME_DOT Lo, 4, &cbRead); 1404 1404 1405 1405 if (cbRead!=4) 1406 1406 return E_FAIL; 1407 1407 1408 this->description.cySize. s.Hi = 0;1408 this->description.cySize.DUMMYSTRUCTNAME_DOT Hi = 0; 1409 1409 1410 1410 /* … … 1500 1500 * Size 1501 1501 */ 1502 IStream_Write(pOutStream, &this->description.cySize. s.Lo, 4, &cbWritten);1502 IStream_Write(pOutStream, &this->description.cySize.DUMMYSTRUCTNAME_DOT Lo, 4, &cbWritten); 1503 1503 1504 1504 if (cbWritten!=4) … … 1550 1550 return E_POINTER; 1551 1551 1552 pcbSize-> s.HighPart = 0;1553 pcbSize-> s.LowPart = 0;1554 1555 pcbSize-> s.LowPart += sizeof(BYTE); /* Version */1556 pcbSize-> s.LowPart += sizeof(WORD); /* Lang code */1557 pcbSize-> s.LowPart += sizeof(BYTE); /* Flags */1558 pcbSize-> s.LowPart += sizeof(WORD); /* Weight */1559 pcbSize-> s.LowPart += sizeof(DWORD); /* Size */1560 pcbSize-> s.LowPart += sizeof(BYTE); /* StrLength */1552 pcbSize->DUMMYSTRUCTNAME_DOT HighPart = 0; 1553 pcbSize->DUMMYSTRUCTNAME_DOT LowPart = 0; 1554 1555 pcbSize->DUMMYSTRUCTNAME_DOT LowPart += sizeof(BYTE); /* Version */ 1556 pcbSize->DUMMYSTRUCTNAME_DOT LowPart += sizeof(WORD); /* Lang code */ 1557 pcbSize->DUMMYSTRUCTNAME_DOT LowPart += sizeof(BYTE); /* Flags */ 1558 pcbSize->DUMMYSTRUCTNAME_DOT LowPart += sizeof(WORD); /* Weight */ 1559 pcbSize->DUMMYSTRUCTNAME_DOT LowPart += sizeof(DWORD); /* Size */ 1560 pcbSize->DUMMYSTRUCTNAME_DOT LowPart += sizeof(BYTE); /* StrLength */ 1561 1561 1562 1562 if (this->description.lpstrName!=0) 1563 pcbSize-> s.LowPart += lstrlenW(this->description.lpstrName);1563 pcbSize->DUMMYSTRUCTNAME_DOT LowPart += lstrlenW(this->description.lpstrName); 1564 1564 1565 1565 return S_OK; … … 1685 1685 fd.cbSizeofstruct = sizeof(fd); 1686 1686 fd.lpstrName = fname; 1687 fd.cySize. s.Lo = 80000;1688 fd.cySize. s.Hi = 0;1689 fd.sWeight = 0;1687 fd.cySize.DUMMYSTRUCTNAME_DOT Lo = 80000; 1688 fd.cySize.DUMMYSTRUCTNAME_DOT Hi = 0; 1689 fd.sWeight = 0; 1690 1690 fd.sCharset = 0; 1691 fd.fItalic = 0;1691 fd.fItalic = 0; 1692 1692 fd.fUnderline = 0; 1693 1693 fd.fStrikethrough = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
