Skip to content
Snippets Groups Projects
Commit b6e1a185 authored by Dave Moxey's avatar Dave Moxey
Browse files

Merge branch 'fix/FldToVtk-trailing-slash' of /opt/gitlab/repositories/nektar

parents 776d16ce 13ef83d8
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,10 @@ int main(int argc, char *argv[])
for (int n = 1; n < argc; ++n)
{
string fname = std::string(argv[n]);
if (fname.substr(fname.length() - 1, 1) == "/")
{
fname = fname.substr(0, fname.length() - 1);
}
int fdot = fname.find_last_of('.');
if (fdot != std::string::npos)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment