diff options
Diffstat (limited to 'tksao')
-rw-r--r-- | tksao/fitsy++/hist.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/fitsy++/hist.C b/tksao/fitsy++/hist.C index c9eec73..d46307e 100644 --- a/tksao/fitsy++/hist.C +++ b/tksao/fitsy++/hist.C @@ -655,7 +655,7 @@ void FitsHist::initWCS(FitsFile* fits, Matrix& mm, Vector block) float cc = srcHead->getReal(key, 0); head_->appendReal(key, cc, 10, NULL); } - strcpy(key,key); + strcpy(key,"CRVAL2"); if (srcHead->find(key)) { float cc = srcHead->getReal(key, 0); head_->appendReal(key, cc, 10, NULL); |