diff options
Diffstat (limited to 'tools/lldb-mi/MICmdFactory.cpp')
-rw-r--r-- | tools/lldb-mi/MICmdFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lldb-mi/MICmdFactory.cpp b/tools/lldb-mi/MICmdFactory.cpp index 3fe4062b7721..717a497a96be 100644 --- a/tools/lldb-mi/MICmdFactory.cpp +++ b/tools/lldb-mi/MICmdFactory.cpp @@ -85,7 +85,7 @@ CMICmdFactory::Shutdown(void) } //++ ------------------------------------------------------------------------------------ -// Details: Register a command's creator function with the command identitier the MI +// Details: Register a command's creator function with the command identifier the MI // command name i.e. 'file-exec-and-symbols'. // Type: Method. // Args: vMiCmd - (R) Command's name, the MI command. @@ -159,7 +159,7 @@ CMICmdFactory::IsValid(const CMIUtilString &vMiCmd) const return false; } - const size_t nPos = vMiCmd.find(" "); + const size_t nPos = vMiCmd.find(' '); if (nPos != std::string::npos) bValid = false; |