# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1671985312 0 # Node ID 9d6280f206bdfd7d1a230bc392494c8a0e84dca7 # Parent 0f5008c05134cbc069fe5ac876a03f921d15cffe Minor code cleanups in the template and C++ bindings. diff -r 0f5008c05134 -r 9d6280f206bd dw.hpp --- a/dw.hpp Sun Dec 25 16:02:59 2022 +0000 +++ b/dw.hpp Sun Dec 25 16:21:52 2022 +0000 @@ -257,7 +257,7 @@ ConfigureConnected = true; } else { ConfigureConnected = false; - } + } } static int _OnDelete(HWND window, void *data) { if(reinterpret_cast(data)->_ConnectDelete) diff -r 0f5008c05134 -r 9d6280f206bd template/dw.c --- a/template/dw.c Sun Dec 25 16:02:59 2022 +0000 +++ b/template/dw.c Sun Dec 25 16:21:52 2022 +0000 @@ -362,12 +362,15 @@ va_list args; va_start(args, format); - vfprintf(stderr, format, args); + dw_vdebug(format, args); va_end(args); } void API dw_vdebug(const char *format, va_list args) { + /* Output to stderr, if there is another way to send it + * on the implementation platform, change this. + */ vfprintf(stderr, format, args); }