Skip to content

Commit

Permalink
Use absolute module paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mickelson committed Feb 28, 2015
1 parent f6ffc3f commit 6417843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fe_vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ bool FeVM::load_module( const char *module_file )
size_t len = temp.find_last_of( "/\\" );
ASSERT( len != std::string::npos );

std::string path = temp.substr( 0, len + 1 );
std::string path = absolute_path( temp.substr( 0, len + 1 ) );

len = fixed_file.find_last_of( "/\\" );
if ( len != std::string::npos )
Expand Down

0 comments on commit 6417843

Please sign in to comment.