Changeset 14387

Show
Ignore:
Timestamp:
05/07/08 12:14:03 (2 months ago)
Author:
tamas
Message:

An extra space is needed for the decimal separator when retrieving the numeric fields (#2350)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/ogr/ogrsf_frmts/oci/ogrocistatement.cpp

    r14363 r14387  
    325325 
    326326        if( oField.GetWidth() > 0 ) 
    327             nBufWidth = oField.GetWidth() + 2; 
     327            /* extra space needed for the decimal separator the string  
     328            terminator and the negative sign (Tamas Szekeres)*/ 
     329            nBufWidth = oField.GetWidth() + 3; 
    328330        else if( oField.GetType() == OFTInteger ) 
    329331            nBufWidth = 22;