Convert double quotes in a command help string to single quotes to allow the string to be processed by Javascript.

pull/4/head
Richard Barry 12 years ago
parent c40370e96a
commit 747a0e15fa

@ -206,7 +206,7 @@ size_t xCommandStringLength;
else
{
/* pxCommand was NULL, the command was not found. */
strncpy( ( char * ) pcWriteBuffer, ( const char * const ) "Command not recognised. Enter \"help\" to view a list of available commands.\r\n\r\n", xWriteBufferLen );
strncpy( ( char * ) pcWriteBuffer, ( const char * const ) "Command not recognised. Enter 'help' to view a list of available commands.\r\n\r\n", xWriteBufferLen );
xReturn = pdFALSE;
}

Loading…
Cancel
Save