improve code style

Signed-off-by: Jack <jack.wgm@gmail.com>
fixed vc2012 project

Signed-off-by: Jack <jack.wgm@gmail.com>