Permalink
Browse files

Fix makeprg construction.

Add space before appending the result of ReadConfig() to makeprg.
  • Loading branch information...
ldx
ldx committed Mar 28, 2012
1 parent e961f17 commit 2ef26e11e99e5094791f30c6ce433a3621529770
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax_checkers/c.vim
View
@@ -125,7 +125,7 @@ function! SyntaxCheckers_c_GetLocList()
endif
" add optional config file parameters
- let makeprg .= syntastic#c#ReadConfig(g:syntastic_c_config_file)
+ let makeprg .= ' '.syntastic#c#ReadConfig(g:syntastic_c_config_file)
" process makeprg
let errors = SyntasticMake({ 'makeprg': makeprg,

0 comments on commit 2ef26e1

Please sign in to comment.