From 9d9bf24775d174ba0292c8d95d29c97a3a8a35ef Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Tue, 21 Aug 2007 08:49:18 +1000 Subject: [PATCH] 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 --- evcontroller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evcontroller.c b/evcontroller.c index 9baa4071..b1bb0406 100644 --- a/evcontroller.c +++ b/evcontroller.c @@ -710,7 +710,7 @@ static void ErrReport(pEVControl self) memset(pRes,0,sizeof(EVControl)); /* new Object Descriptor */ - pRes->pDes = CreateDescriptor("Environment Controller"); + pRes->pDes = CreateDescriptor("Environment_Controller"); if(!pRes->pDes) { free(pRes); @@ -1573,7 +1573,7 @@ int RemoveEVController(SConnection *pCon, char *name) { } strtolower(argv[2]); strtolower(argv[3]); - if (FindCommandData(pSics, argv[2], "Environment Controller")) { + if (FindCommandData(pSics, argv[2], "Environment_Controller")) { if (strcmp(argv[1], "replace") == 0) { if (!RemoveEVController(pCon, argv[2])) { return 0;