templates/native.c | raw changeset files shortlog |
1.1 --- a/templates/native.c Sun Nov 27 00:33:50 2016 +0100 1.2 +++ b/templates/native.c Sun Nov 27 13:50:25 2016 +0100 1.3 @@ -476,7 +476,7 @@ 1.4 1.5 /* Calculate the size of the string. */ 1.6 for (i = 0; i < data->size; i++) 1.7 - size += strlen(data->attrs[i].strvalue); 1.8 + size += strlen(__load_via_object(data->attrs[i].value, __pos___data__).strvalue); 1.9 1.10 /* Reserve space for a new string. */ 1.11 s = calloc(size + 1, sizeof(char));