Bug fix for the pack_structs() method. The wrong index was being used!
Authored by: bugman 2009-01-19
Parent: [r8517]
Child: [r8519]