In generate_attribute_name(), ignore spaces. Fixes AP214E3 error.

This commit is contained in:
Mark Pictor
2011-07-31 14:53:38 -04:00
parent 62d80a5c5b
commit 1ebee6d57e
+2 -2
View File
@@ -434,9 +434,9 @@ generate_attribute_name( Variable a, char *out )
/* copy p to out */
/* DAR - fixed so that '\n's removed */
for ( j=0, q=out; p, j<BUFSIZ; p++ ) {
/* copy p to out, 1 char at time. Skip \n's, convert
/* copy p to out, 1 char at time. Skip \n's and spaces, convert
/* '.' to '_', and convert to lowercase. */
if ( *p != '\n' ) {
if ( ( *p != '\n' ) && ( *p != ' ' ) ) {
if ( *p == '.' ) {
*q = '_';
} else {