--- old/src/java.desktop/share/native/liblcms/cmscgats.c 2016-04-01 15:58:24.434008715 +0530 +++ new/src/java.desktop/share/native/liblcms/cmscgats.c 2016-04-01 15:58:24.178008717 +0530 @@ -834,7 +834,7 @@ } else { - sprintf(it8->id, it8 ->DoubleFormatter, it8->dnum); + sprintf(it8->id, DEFAULT_DBL_FORMAT, it8->dnum); } k = (int) strlen(it8 ->id); @@ -1011,7 +1011,7 @@ Buffer[max-1]=0; break; case SINUM: snprintf(Buffer, max, "%d", it8 -> inum); break; - case SDNUM: snprintf(Buffer, max, it8->DoubleFormatter, it8 -> dnum); break; + case SDNUM: snprintf(Buffer, max, DEFAULT_DBL_FORMAT, it8 -> dnum); break; case SSTRING: strncpy(Buffer, it8->str, max); Buffer[max-1] = 0; break; @@ -1392,7 +1392,7 @@ cmsIT8* it8 = (cmsIT8*) hIT8; char Buffer[1024]; - sprintf(Buffer, it8->DoubleFormatter, Val); + sprintf(Buffer, DEFAULT_DBL_FORMAT, Val); return AddToList(it8, &GetTable(it8)->HeaderList, cProp, NULL, Buffer, WRITE_UNCOOKED) != NULL; } @@ -2606,7 +2606,7 @@ _cmsAssert(hIT8 != NULL); - sprintf(Buff, it8->DoubleFormatter, Val); + sprintf(Buff, DEFAULT_DBL_FORMAT, Val); return SetData(it8, row, col, Buff); } @@ -2696,7 +2696,8 @@ _cmsAssert(hIT8 != NULL); - snprintf(Buff, 255, it8->DoubleFormatter, Val); + sprintf(Buff, DEFAULT_DBL_FORMAT, Val); + return cmsIT8SetData(hIT8, cPatch, cSample, Buff); }