Skip to content

Commit

Permalink
Address feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamed Sabri committed Jul 15, 2020
1 parent 8d11884 commit bb59f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mayaUsd/ufe/UsdUndoRenameCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ bool UsdUndoRenameCommand::renameRedo()
}

// all special characters are replaced with `_`
const std::string specialChars{"~!@#$%^&*()-=+,.?`':{}|<>[]/' '"};
const std::string specialChars{"~!@#$%^&*()-=+,.?`':{}|<>[]/ "};
std::replace_if(_newName.begin(), _newName.end(), [&](auto c){
return std::string::npos != specialChars.find(c);
}, '_');
Expand Down

0 comments on commit bb59f68

Please sign in to comment.