Project

General

Profile

Revision 5bc3f3e7 src/libs/plugins/imexporters/q43/q43.c

View differences:

src/libs/plugins/imexporters/q43/q43.c
276 276
	/* get amount */
277 277
	strncpy(amount, p+28, 14);
278 278
	amount[14]=0;
279
	strncat(amount, "/100:", sizeof(amount)-1);
279
	strncat(amount, "/100:", sizeof(amount)-strlen(amount)-1);
280 280
        if (currency)
281
	  strncat(amount, currency, sizeof(amount)-1);
281
	  strncat(amount, currency, sizeof(amount)-strlen(amount)-1);
282 282
	amount[sizeof(amount)-1]=0;
283 283
	v=AB_Value_fromString(amount);
284 284
	if (v==NULL) {

Also available in: Unified diff