Fix unintended renaming

pull/1/head
Darrell Anderson 11 years ago
parent 2c8ee7a8b4
commit 34bc7e9b1a

@ -290,7 +290,7 @@ void imagesequence::stopSequence()
if (stdDevCCD)
{
stdDevCCD->setqCount = 0;
stdDevCCD->setCount = 0;
stdDevCCD->batchMode = false;
stdDevCCD->ISOMode = false;

@ -63,7 +63,7 @@
dp = associatedDevice;
ksw = kswPtr;
initDevCounter = 0;
setqCount = 0;
setCount = 0;
batchMode = false;
ISOMode = false;
@ -158,7 +158,7 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
strncpy(tempFileStr, filename, 256);
if ( batchMode && !ISOMode)
snprintf(filename, sizeof(filename), "%s/%s_%02d.fits", tempFileStr, seqPrefix.ascii(), setqCount);
snprintf(filename, sizeof(filename), "%s/%s_%02d.fits", tempFileStr, seqPrefix.ascii(), setCount);
else if (!batchMode && !Options::indiFITSDisplay())
{
strftime (ts, sizeof(ts), "%Y-%m-%dT%H:%M:%S", tp);
@ -167,10 +167,10 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
else
{
strftime (ts, sizeof(ts), "%Y-%m-%dT%H:%M:%S", tp);
snprintf(filename, sizeof(filename), "%s/%s_%02d_%s.fits", tempFileStr, seqPrefix.ascii(), setqCount, ts);
snprintf(filename, sizeof(filename), "%s/%s_%02d_%s.fits", tempFileStr, seqPrefix.ascii(), setCount, ts);
}
setqCount++;
setCount++;
}
else
{
@ -447,7 +447,7 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
seqLister->setNameFilter(TQString("%1_*.fits").arg(seqPrefix));
setqCount = 0;
setCount = 0;
if (ISOMode) return;
@ -486,8 +486,8 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
newFileIndex = strtol(t, NULL, 10);
if (newFileIndex >= setqCount)
setqCount = newFileIndex + 1;
if (newFileIndex >= setCount)
setCount = newFileIndex + 1;
}
delete [] (tempPrefix);

@ -75,7 +75,7 @@
LilXML *parser;
TQString seqPrefix;
int setqCount;
int setCount;
bool batchMode;
bool ISOMode;
KDirLister *seqLister;

Loading…
Cancel
Save