If you're on the forums, you can use the [ code ] tag here to write code in your post. It's a lot easier than putting ~s everywhere. :) Also, is this a contribution to Wine? In that case, check out the "Source code and patches" section on http://wiki.winehq.org/Developers .