fix *platform_catgeory to *platform_category in config.c and fix some indent and space, to fits better with upstream code
Merge pull request #3 from sergiobenrocha2/master

Minor fixes