fixed a bug in scalarformatter's get_offset
Authored by: dsdale 2006-04-18
Parent: [r2297]
Child: [r2299]