Skip to content

Commit 59cffc2

Browse files
committed
Update Commander-API.cpp
1 parent f49e252 commit 59cffc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commander-API.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ void Commander::executeCommand( char *cmd ){
237237
strncpy( tempBuff, cmd, COMMANDER_MAX_COMMAND_SIZE );
238238

239239
// Remove whitespaces at the beginning.
240-
while( *tempBuff = ' ' ){
240+
while( *tempBuff == ' ' ){
241241
tempBuff++;
242242
}
243243

0 commit comments

Comments
 (0)