fixed missing comma
This commit is contained in:
parent
9370747f40
commit
8aebc87199
@ -34,10 +34,10 @@ bool addFile(const string &inFile, FILE *out)
|
||||
nbRead = fread(ptr, sizeof(char), NB_VAL_PER_LINE, in);
|
||||
for(unsigned int i=0; i<nbRead; ++i)
|
||||
fprintf(out, i ? ",0x%x" : "\t0x%x", ptr[i]);
|
||||
fprintf(out, "\n");
|
||||
fprintf(out, ",\n");
|
||||
}
|
||||
while(nbRead == NB_VAL_PER_LINE);
|
||||
fprintf(out, ", 0x00}; // additionnal byte used to null-terminate ascii data\n");
|
||||
fprintf(out, "\t0x00}; // additionnal byte used to null-terminate ascii data\n");
|
||||
++n;
|
||||
fclose(in);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user