Changeset 85 for trunk/src/helpers/textview.c
- Timestamp:
- Jul 6, 2001, 6:57:59 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/textview.c
r47 r85 1266 1266 { 1267 1267 pWordThis->lX = flbuf.lXCurrent; 1268 pWordThis->p vRectangle = (PVOID)pRect;1268 pWordThis->pRectangle = pRect; 1269 1269 lstAppendItem(&pRect->llWords, pWordThis); 1270 1270 ulWordsInThisRect++; … … 1310 1310 1311 1311 // store word in rectangle 1312 pWordThis->p vRectangle = (PVOID)pRect;1312 pWordThis->pRectangle = pRect; 1313 1313 lstAppendItem(&pRect->llWords, pWordThis); 1314 // ###memory leak right here!!!1314 // @@todo memory leak right here!!! 1315 1315 ulWordsInThisRect++; 1316 1316 … … 2138 2138 POINTL ptlStart; 2139 2139 ULONG flOptions = pWordThis->flOptions; 2140 PTXVRECTANGLE pLineRcl = (PTXVRECTANGLE)pWordThis->pvRectangle;2140 PTXVRECTANGLE pLineRcl = pWordThis->pRectangle; 2141 2141 2142 2142 RECTL rclLine; … … 3031 3031 if (pWord) 3032 3032 { 3033 PTXVRECTANGLE pRect = (PTXVRECTANGLE)pWord->pvRectangle;3033 PTXVRECTANGLE pRect = pWord->pRectangle; 3034 3034 ULONG ulWinCY = (ptxvd->rclViewText.yTop - ptxvd->rclViewText.yBottom); 3035 3035
Note:
See TracChangeset
for help on using the changeset viewer.