nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Console not printing our vargs correctly #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Do /rendermode 1 and see how it doesn't print the right value...

Original issue reported on code.google.com by nin...@gmail.com on 6 Dec 2011 at 2:33

GoogleCodeExporter commented 9 years ago
Fixed! Was interchanging va_args with ... which are subtly different. See: 
http://stackoverflow.com/questions/205529/c-c-passing-variable-number-of-argumen
ts-around

Original comment by nin...@gmail.com on 6 Dec 2011 at 2:43