{ "app" , SdlAttrDataTypeEnum , SdlIgnore ,
SDL_ATTR_APP ,
- NULL },
+ 0 },
{ "author" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_AUTHOR ,
- NULL },
+ 0 },
{ "b-margin" , SdlAttrDataTypeNumber, SdlContainerSpecific ,
SDL_ATTR_BMARGIN,
{ ButtonStr , SdlAttrDataTypeId , SdlIgnore ,
SDL_ATTR_BUTTON,
- NULL },
+ 0 },
{ "cells" , SdlAttrDataTypeId , SdlElementSpecific,
SDL_ATTR_CELLS,
{ "descript" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_DESCRIPT,
- NULL },
+ 0 },
{ "doc-id" , SdlAttrDataTypeCdata , SdlElementSpecific,
SDL_ATTR_DOCID ,
{ "hdr" , SdlAttrDataTypeEnum , SdlIgnore ,
SDL_ATTR_HDR ,
- NULL },
+ 0 },
{ "headw" , SdlAttrDataTypeNumber , SdlContainerSpecific ,
SDL_ATTR_HEADWDTH,
SDLAttrOffset(ElementInfoPtr,language) },
{ "length" , SdlAttrDataTypeNumber, SdlIgnore ,
SDL_ATTR_LENGTH ,
- NULL },
+ 0 },
{ "level" , SdlAttrDataTypeNumber, SdlElementSpecific,
SDL_ATTR_LEVEL ,
{ "license" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_LICENSE ,
- NULL },
+ 0 },
{ "linkinfo" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_LINKINFO,
- NULL },
+ 0 },
{ "locs" , SdlAttrDataTypeCdata , SdlElementSpecific,
SDL_ATTR_LOCS ,
{ "placement" , SdlAttrDataTypeEnum , SdlIgnore ,
SDL_ATTR_PLACEMENT,
- NULL },
+ 0 },
{ "phrase" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_PHRASE ,
- NULL },
+ 0 },
{ "pointsz" , SdlAttrDataTypeNumber, SdlFontSpecific,
SDL_ATTR_POINTSZ ,
{ "pub-id" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_PUBID ,
- NULL },
+ 0 },
{ "prodpn" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_PRODPN ,
- NULL },
+ 0 },
{ ProductStr , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_PRODUCT,
- NULL },
+ 0 },
{ "prodver" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_PRODVER,
- NULL },
+ 0 },
{ "r-margin" , SdlAttrDataTypeNumber, SdlContainerSpecific ,
SDL_ATTR_RMARGIN,
{ "srcdtd" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_SRCDTD ,
- NULL },
+ 0 },
{ "srch-wt" , SdlAttrDataTypeNumber, SdlIgnore ,
SDL_ATTR_SRCHWT ,
- NULL },
+ 0 },
{ "ssi" , SdlAttrDataTypeCdata , SdlElementSpecific,
SDL_ATTR_SSI ,
{ "stack" , SdlAttrDataTypeEnum , SdlIgnore ,
SDL_ATTR_STACK,
- NULL },
+ 0 },
{ "style" , SdlAttrDataTypeFont , SdlFontSpecific ,
SDL_ATTR_STYLE,
{ (TextStr+1) , SdlAttrDataTypeCdata , SdlIgnore,
SDL_ATTR_TEXT ,
- NULL },
+ 0 },
{ "timestmp" , SdlAttrDataTypeCdata , SdlElementSpecific,
SDL_ATTR_TIMESTAMP,
{ "traversal" , SdlAttrDataTypeEnum , SdlIgnore ,
SDL_ATTR_TRAVERSAL,
- NULL },
+ 0 },
{ "typenam" , SdlAttrDataTypeCdata , SdlFontSpecific ,
SDL_ATTR_TYPENAM,
{ "version" , SdlAttrDataTypeCdata , SdlIgnore ,
SDL_ATTR_VERSION,
- NULL },
+ 0 },
{(TopVJustStr+4) , SdlAttrDataTypeEnum , SdlContainerSpecific ,
SDL_ATTR_VJUST,
{ "xlfdib" , SdlAttrDataTypeCdata , SdlFontSpecific ,
SDL_ATTR_XLFDIB ,
SDLAttrOffset(_DtHelpFontHintPtr,xlfdib) },
- { NULL , SdlAttrDataTypeInvalid, -1, NULL },
+ { 0 , SdlAttrDataTypeInvalid, -1, 0 },
};
/******************************************************************************
i = 0;
string = my_struct->remember;
myLen = strlen(string);
- while (string[i] != '\0')
+ while (string[i] != '\0' && i < myLen)
{
if (multiLen != 1)
curLen = mblen (&string[i], multiLen);