Permalink
Browse files

Escape spaces in guifont

  • Loading branch information...
1 parent b11cd85 commit abdedd905716c01e7eb0396cd35d57282af57b09 @halbtuerke committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/writer.vim
View
@@ -81,7 +81,7 @@ function! w:Toggle()
else
" Apply saved settings
if has('gui')
- exe ":set guifont=" . w:savedfont
+ exe ":set guifont=" . escape(w:savedfont, ' ')
exe ":set linespace=" . w:spacing
exe ":set guioptions=" . w:guioptions
endif

1 comment on commit abdedd9

@dsanson
dsanson commented on abdedd9 Nov 4, 2012

nice catch. merged it back in to my fork.

Please sign in to comment.