Subversion Repositories gelsvn

Rev

Rev 632 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 632 Rev 636
Line 86... Line 86...
86
 
86
 
87
        Timer tim;
87
        Timer tim;
88
        tim.start();
88
        tim.start();
89
 
89
 
90
        string baseurl;
90
        string baseurl;
91
        int idx = std::max(find_last_of(filename, "\\"), 
91
        int idx = max(find_last_of(filename, "\\"), 
92
            find_last_of(filename, "/"));
92
            find_last_of(filename, "/"));
93
 
93
 
94
        if(idx != -1)
94
        if(idx != -1)
95
            baseurl = string(filename.substr(0, idx+1));
95
            baseurl = string(filename.substr(0, idx+1));
96
 
96