Changeset 9325


Ignore:
Timestamp:
08/12/11 14:19:10 (14 years ago)
Author:
Eric.Larour
Message:

reverting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/io/Matlab/OptionParse.cpp

    r9323 r9325  
    106106                /*loop through and process each field for the element  */
    107107                for (i=0; i<mxGetNumberOfFields(prhs[0]); i++) {
    108                         snprintf(namei,161,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i));
     108                        sprintf(namei,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i));
    109109                        structi=mxGetFieldByNumber(prhs[0],sindex,i);
    110110
     
    152152                ColumnWiseDimsFromIndex(dims,(int)cindex,ocell->size,ocell->ndims);
    153153                StringFromDims(cstr,dims,ocell->ndims);
    154                 sprintf(namei,"%s%s",name,cstr);
     154                sprintf(namei,161,"%s%s",name,cstr);
    155155                celli=mxGetCell(prhs[0],cindex);
    156156
Note: See TracChangeset for help on using the changeset viewer.