Skip to content

Commit

Permalink
file_name->base_name
Browse files Browse the repository at this point in the history
  • Loading branch information
AI0867 committed Nov 27, 2013
1 parent ad8636f commit 596c246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/dialogs/editor/custom_tod.cpp
Expand Up @@ -114,7 +114,7 @@ tcustom_tod::tcustom_tod(editor::editor_display* display
void tcustom_tod::select_file(const std::string& filename, const std::string& dir, const std::string& vector_attrib, twindow& window)
{
std::string va = vector_attrib;
std::string fn = filesystem::file_name(filename);
std::string fn = filesystem::base_name(filename);
std::string dn = filesystem::directory_name(fn);
if(dn.empty()) {
dn = dir;
Expand Down

0 comments on commit 596c246

Please sign in to comment.