cosmo0920 / win32-api

A different, better variant of the Win32API Ruby library
61 stars 10 forks source link

Getting-Started wiki page small typo #22

Closed rgr78 closed 8 years ago

rgr78 commented 8 years ago

There is a small typo in the wiki, page Getting-Started.

The line dwptr = [buf.size].pack('L') # This effectively gives us a pointer address

should be dwptr = [buffer.size].pack('L') # This effectively gives us a pointer address

otherwise the code won't run as is.

cosmo0920 commented 8 years ago

I've fixed this on the revision: https://github.com/cosmo0920/win32-api/wiki/Getting-Started/bd99e4ab1306b128f4db8a404eeb04e8f2172ea4

Thanks for the report!