Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Commit

Permalink
Small correction ...
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganimed committed Feb 1, 2017
1 parent 2d230f3 commit 63858bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mex-wholebodymodel/library/src/modelstate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ bool isRobotNameAFile(const char *pstrRobotName)
if (pos != std::string::npos) {
// if '.' was found ...
std::string ext = fn.substr(pos+1, len - pos);
if (ext.size() > 2) {
len = ext.size();
if ( (len > 2) && (len < 5) ) {
return true;
}
}
Expand Down

0 comments on commit 63858bb

Please sign in to comment.