| 94 |
|
return SDEnone; |
| 95 |
|
if ((geom = ezxml_child(wdb, "Name")) != NULL) { |
| 96 |
|
strncpy(sd->matn, ezxml_txt(geom), SDnameLn); |
| 97 |
< |
sd->matn[SDnameLn-1] = '\0'; |
| 97 |
> |
if (sd->matn[SDnameLn-1]) |
| 98 |
> |
strcpy(sd->matn+(SDnameLn-4), "..."); |
| 99 |
|
} |
| 100 |
|
if ((geom = ezxml_child(wdb, "Manufacturer")) != NULL) { |
| 101 |
|
strncpy(sd->makr, ezxml_txt(geom), SDnameLn); |
| 102 |
< |
sd->makr[SDnameLn-1] = '\0'; |
| 102 |
> |
if (sd->makr[SDnameLn-1]) |
| 103 |
> |
strcpy(sd->makr+(SDnameLn-4), "..."); |
| 104 |
|
} |
| 105 |
|
sd->dim[0] = sd->dim[1] = sd->dim[2] = .0; |
| 106 |
|
SDerrorDetail[0] = '\0'; |