From the msdn documentation, the second parameter in the printf calls is the
number of characters and not their size.
See the attached patch. I used the _countof macro which isn't portable but we
can define it ourselves if we need to be portable.
Original issue reported on code.google.com by XhmikosR on 6 Aug 2013 at 4:01
Original issue reported on code.google.com by
XhmikosR
on 6 Aug 2013 at 4:01Attachments: