Skip to content

Commit

Permalink
fix for #66
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko van der Sloot authored and Ko van der Sloot committed Feb 28, 2019
1 parent 60d80ad commit e07e1b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/FrogAPI.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1456,8 +1456,9 @@ string filter_non_NC( const string& filename ){
result += filename[i];
}
}
if ( result.empty() ){
// ouch, only numbers?
if ( result.empty()
|| result[0] == '.' ){
// ouch, only numbers? Or only before the extension?
return filter_non_NC( "N" + filename );
}
return result;
Expand Down

0 comments on commit e07e1b0

Please sign in to comment.