From 5322cb825486b365627aafa4d79df6beed84a626 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Wed, 26 Sep 2007 14:19:39 +1000 Subject: [PATCH] Replace the space in the "Environment Controller" type with an underscore so that it can be easily parsed as a single token. r2157 | ffr | 2007-09-26 14:19:39 +1000 (Wed, 26 Sep 2007) | 2 lines --- mesure.c | 2 +- sinfox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mesure.c b/mesure.c index 7b436743..7d3a2820 100644 --- a/mesure.c +++ b/mesure.c @@ -1081,7 +1081,7 @@ static int ScanReflection(pMesure self, float twoTheta, SConnection *pCon) /* get temperature */ fTemp = -777.77; pEva = (pEVControl)FindCommandData(pServ->pSics,"temperature", - "Environment Controller"); + "Environment_Controller"); if(pEva == NULL) { pPtr = (pDummy)FindCommandData(pServ->pSics,"temperature", diff --git a/sinfox.h b/sinfox.h index 7e66b929..98070086 100644 --- a/sinfox.h +++ b/sinfox.h @@ -56,7 +56,7 @@ char *pDeviceTypes[25] = { "connection", "crystalselector", "environment monitor", - "environment controller", + "environment_controller", "gpib", "hklscan", "hmcontrol",