Changeset 11398
- Timestamp:
- 05/02/07 15:45:05 (2 years ago)
- Files:
-
- trunk/gdal/ogr/ogrfeaturestyle.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/ogr/ogrfeaturestyle.cpp
r10630 r11398 855 855 int &nTransparance) 856 856 { 857 int nCount ;857 int nCount=0; 858 858 859 859 nTransparance = 255; 860 860 861 861 // FIXME: should we really use sscanf here? 862 nCount = sscanf(pszColor,"#%2x%2x%2x%2x",&nRed,&nGreen,&nBlue, 863 &nTransparance); 862 if (pszColor) 863 nCount = sscanf(pszColor,"#%2x%2x%2x%2x",&nRed,&nGreen,&nBlue, 864 &nTransparance); 864 865 865 866 if (nCount >=3)
