~e7appew/ubuntu/vivid/bombono-dvd/mux-files-with-spaces-vivid

« back to all changes in this revision

Viewing changes to src/mgui/project/serialize.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-05-02 22:09:31 UTC
  • Revision ID: package-import@ubuntu.com-20130502220931-pui7uqs6b468z8sb
Tags: 1.2.1-0ubuntu5
Cherry-pick patches from upstream to build against boost1.53.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        return "untitled.bmd";
72
72
 
73
73
    fs::path full_path(db.GetProjectFName());
74
 
    std::string res_str = full_path.leaf();
 
74
    std::string res_str = fs::name_str(full_path);
75
75
    if( with_path_breakdown )
76
76
        res_str += " (" + full_path.branch_path().string() + ")";
77
77
    return res_str;