Changeset 10739
- Timestamp:
- 2005-10-20T12:06:26+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/highlighttext.cpp
r9620 r10739 71 71 remove_space(querystring); 72 72 73 // Expand macros before highlighting -- by Jens Wille 74 text_t text_expanded = ""; 75 disp.expandstring(text, text_expanded); 76 73 77 if ((args["hl"] == 2) || ((*(querystring.begin()) == '"') && (*(querystring.end()-1) == '"'))) { 74 highlight_phrases(text , querystring, terms, shl, ehl, disp, outconvert, textout);78 highlight_phrases(text_expanded, querystring, terms, shl, ehl, disp, outconvert, textout); 75 79 } else { 76 highlight_terms(text , terms, shl, ehl, disp, outconvert, textout);80 highlight_terms(text_expanded, terms, shl, ehl, disp, outconvert, textout); 77 81 } 78 82 }
Note:
See TracChangeset
for help on using the changeset viewer.