"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ssdata.c" between
grace-5.1.24.tar.gz and grace-5.1.25.tar.gz

About: GRACE (GRaphing, Advanced Computation and Exploration of data) is a WYSIWYG 2D plotting tool (a descendant of and replacement for ACE/gr respectively xmgr).

ssdata.c  (grace-5.1.24):ssdata.c  (grace-5.1.25)
skipping to change at line 410 skipping to change at line 410
nncols++; nncols++;
} }
for (j = 0; j < ncols; j++) { for (j = 0; j < ncols; j++) {
if (ssd->formats[j] == FFORMAT_STRING) { if (ssd->formats[j] == FFORMAT_STRING) {
set_set_strings(gno, setno, nrows, (char **) ssd->data[j]); set_set_strings(gno, setno, nrows, (char **) ssd->data[j]);
} else { } else {
setcol(gno, setno, nncols, (double *) ssd->data[j], nrows); setcol(gno, setno, nncols, (double *) ssd->data[j], nrows);
nncols++; nncols++;
} }
} }
setcomment(gno, setno, label); if (!strlen(getcomment(gno, setno))) {
setcomment(gno, setno, label);
}
XCFREE(ssd->data); XCFREE(ssd->data);
XCFREE(ssd->formats); XCFREE(ssd->formats);
break; break;
case LOAD_NXY: case LOAD_NXY:
if (nscols != 0) { if (nscols != 0) {
errmsg("Can not yet use strings when reading in data as NXY"); errmsg("Can not yet use strings when reading in data as NXY");
free_ss_data(ssd); free_ss_data(ssd);
return RETURN_FAILURE; return RETURN_FAILURE;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS