--- netpbm-10.33/converter/other/pamtofits.c.21444 2006-05-26 15:51:05.000000000 +0200 +++ netpbm-10.33/converter/other/pamtofits.c 2006-05-26 15:51:34.000000000 +0200 @@ -58,13 +58,13 @@ writeFitsHeader(int const bitpix, sprintf(card, "%-20.20s%10d%-50.50s", "NAXIS3 =", 3, ""); writeCard(card); ++cardsWritten; } - sprintf(card, "%-18.18s%E%-51.51s", "BSCALE =", bscale, ""); + sprintf(card, "%-18.18s%E%-50.50s", "BSCALE =", bscale, ""); writeCard(card); ++cardsWritten; - sprintf(card, "%-18.18s%E%-51.51s", "BZERO =", fitsBzero, ""); + sprintf(card, "%-18.18s%E%-50.50s", "BZERO =", fitsBzero, ""); writeCard(card); ++cardsWritten; - sprintf(card, "%-18.18s%E%-51.51s", "DATAMAX =", datamax, ""); + sprintf(card, "%-18.18s%E%-50.50s", "DATAMAX =", datamax, ""); writeCard(card); ++cardsWritten; - sprintf(card, "%-18.18s%E%-51.51s", "DATAMIN =", datamin, ""); + sprintf(card, "%-18.18s%E%-50.50s", "DATAMIN =", datamin, ""); writeCard(card); ++cardsWritten; sprintf(card, "%-80.80s", "HISTORY Created by pnmtofits."); writeCard(card); ++cardsWritten;