Replaced space with underscore in environment controller descriptor to stop it from being represented as a list of two words in programs.
r2136 | ffr | 2007-08-21 08:49:18 +1000 (Tue, 21 Aug 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
df40d6a26f
commit
9d9bf24775
@@ -710,7 +710,7 @@ static void ErrReport(pEVControl self)
|
|||||||
memset(pRes,0,sizeof(EVControl));
|
memset(pRes,0,sizeof(EVControl));
|
||||||
|
|
||||||
/* new Object Descriptor */
|
/* new Object Descriptor */
|
||||||
pRes->pDes = CreateDescriptor("Environment Controller");
|
pRes->pDes = CreateDescriptor("Environment_Controller");
|
||||||
if(!pRes->pDes)
|
if(!pRes->pDes)
|
||||||
{
|
{
|
||||||
free(pRes);
|
free(pRes);
|
||||||
@@ -1573,7 +1573,7 @@ int RemoveEVController(SConnection *pCon, char *name) {
|
|||||||
}
|
}
|
||||||
strtolower(argv[2]);
|
strtolower(argv[2]);
|
||||||
strtolower(argv[3]);
|
strtolower(argv[3]);
|
||||||
if (FindCommandData(pSics, argv[2], "Environment Controller")) {
|
if (FindCommandData(pSics, argv[2], "Environment_Controller")) {
|
||||||
if (strcmp(argv[1], "replace") == 0) {
|
if (strcmp(argv[1], "replace") == 0) {
|
||||||
if (!RemoveEVController(pCon, argv[2])) {
|
if (!RemoveEVController(pCon, argv[2])) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user