kernel32: Fix GetComputerNameA to not count trailing NULL

Alasdair Sinclair alasdairs at dsl.pipex.com
Fri Mar 2 00:14:02 CST 2007


GetComputerNameA shouldn't count the trailing NULL when returning the 
buffer.

---
  dlls/kernel32/computername.c |    3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)

Alasdair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fb4eeceddd4bd1ec04ea86370ca46b90e01abf6c.diff
Type: text/x-patch
Size: 481 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070302/edf34d17/fb4eeceddd4bd1ec04ea86370ca46b90e01abf6c.bin


More information about the wine-patches mailing list