Fix for the write_multi_header() function.
The spin_id variable now exists.
Authored by: bugman 2009-07-13
Parent: [r9210]
Child: [r9212]