d3dcompiler: Include the string terminator in the output blob.

This commit is contained in:
Matteo Bruni 2011-01-04 16:41:42 +01:00 committed by Alexandre Julliard
parent e88caf015e
commit dbc8c9c299
1 changed files with 1 additions and 0 deletions

View File

@ -306,6 +306,7 @@ static int wpp_close_output(void)
if(!new_wpp_output) return 0; if(!new_wpp_output) return 0;
wpp_output = new_wpp_output; wpp_output = new_wpp_output;
wpp_output[wpp_output_size]='\0'; wpp_output[wpp_output_size]='\0';
wpp_output_size++;
return 1; return 1;
} }