[PATCH 2/2] Do not bother passing optional argument to WriteConsoleA.

2020-03-08 Thread Hans-Bernhard Broeker
Passing a pointer to a local variable to WriteConsoleA is not actually needed if we're not going to do anything with what WriteConsoleA would put in there. For the wpbuf class the pointer argument was made optional, so it can be just left out; other call places now pass a NULL pointer instead.

[PATCH 2/2] Do not bother passing optional argument to WriteConsoleA.

2020-03-08 Thread Hans-Bernhard Bröker
Passing a pointer to a local variable to WriteConsoleA is not actually needed if we're not going to do anything with what WriteConsoleA would put in there. For the wpbuf class the pointer argument was made optional, so it can be just left out; other call places now pass a NULL pointer instead.