Changeset 21 for trunk/src/helpers/textv_html.c
- Timestamp:
- Jan 8, 2001, 6:54:48 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/textv_html.c
r14 r21 56 56 /* 57 57 *@@category: Helpers\PM helpers\Window classes\XTextView control\HTML conversion 58 * see textv_html.c. 58 59 */ 59 60 … … 2060 2061 ULONG cbSource = strlen(*ppszText); 2061 2062 2063 XHTMLDATA xhtmlTemp = {0}; 2064 BOOL fUsingTemp = FALSE; 2062 2065 COPYTARGET ct = {0}; 2063 2066 … … 2069 2072 ct.fSkipNextSpace = TRUE; 2070 2073 ct.pxhtml = (PXHTMLDATA)pxhtml; 2074 if (ct.pxhtml == NULL) // not specified: 2075 { 2076 ct.pxhtml = &xhtmlTemp; 2077 fUsingTemp = TRUE; 2078 } 2079 2080 lstInit(&ct.pxhtml->llLinks, TRUE); // auto-free 2071 2081 2072 2082 // step 2: … … 2218 2228 lstClear(&ct.llLists); 2219 2229 2230 if (fUsingTemp) 2231 { 2232 if (xhtmlTemp.pszTitle) 2233 free(xhtmlTemp.pszTitle); 2234 lstClear(&xhtmlTemp.llLinks); 2235 // ### better really clear this... there are PSZ's inside 2236 } 2237 2220 2238 return (brc); 2221 2239 }
Note:
See TracChangeset
for help on using the changeset viewer.