mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-01 01:32:04 +03:00
GH-376 Cast to bool
This commit is contained in:
parent
5fbc773584
commit
38b301de10
@ -772,8 +772,8 @@ static NeoVimBuffer *buffer_for(buf_T *buf) {
|
||||
|
||||
NeoVimBuffer *buffer = [[NeoVimBuffer alloc] initWithHandle:buf->handle
|
||||
unescapedPath:fileName
|
||||
dirty:buf->b_changed
|
||||
readOnly:buf->b_p_ro
|
||||
dirty:(bool) buf->b_changed
|
||||
readOnly:(bool) buf->b_p_ro
|
||||
current:current];
|
||||
|
||||
return [buffer autorelease];
|
||||
|
Loading…
Reference in New Issue
Block a user