Ignore:
Timestamp:
Nov 5, 2013, 3:40:52 PM (11 years ago)
Author:
rybkin
Message:

See C.L. 511

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_pattern.cxx

    r607 r652  
    771771      replacement.replace_all ("<version>", context_use->version.c_str ());
    772772      replacement.replace_all ("<path>",    context_use->real_path.c_str ());
    773 
     773      /*
    774774      cmt_string cmtpath = "";
    775775      cmt_string offset = "";
     
    779779      Project* p = Project::find_by_cmtpath (cmtpath);
    780780      if (p != 0)
     781      */
     782      if (const Project* p = context_use->get_project ())
    781783        {
    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 ());
    784786        }
    785787
Note: See TracChangeset for help on using the changeset viewer.