Changeset 652 for CMT/HEAD/source/cmt_pattern.cxx
- Timestamp:
- Nov 5, 2013, 3:40:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_pattern.cxx
r607 r652 771 771 replacement.replace_all ("<version>", context_use->version.c_str ()); 772 772 replacement.replace_all ("<path>", context_use->real_path.c_str ()); 773 773 /* 774 774 cmt_string cmtpath = ""; 775 775 cmt_string offset = ""; … … 779 779 Project* p = Project::find_by_cmtpath (cmtpath); 780 780 if (p != 0) 781 */ 782 if (const Project* p = context_use->get_project ()) 781 783 { 782 const cmt_string& n = p->get_name ();783 replacement.replace_all ("<project>", n.c_str ());784 // const cmt_string& n = p->get_name (); 785 replacement.replace_all ("<project>", p->get_name ().c_str ()); 784 786 } 785 787
Note: See TracChangeset
for help on using the changeset viewer.