aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/php.vim
diff options
context:
space:
mode:
authorPavel Platto <hinidu@gmail.com>2014-07-17 16:46:50 +0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-07-17 11:23:29 -0300
commit974408f2de8531f58e3f1cde3db7344d7b23dfd0 (patch)
treea726403fd4e6941872b1e6bbbefe430260feb875 /runtime/syntax/php.vim
parente057676a89fb692f2569d7e586ea26d323428de4 (diff)
downloadrneovim-974408f2de8531f58e3f1cde3db7344d7b23dfd0.tar.gz
rneovim-974408f2de8531f58e3f1cde3db7344d7b23dfd0.tar.bz2
rneovim-974408f2de8531f58e3f1cde3db7344d7b23dfd0.zip
Fix #963.
Problem: Bug was introduced because `os_open` returns `-errno` in case of an error instead of just `-1` which was returned by `mch_open`. Solution: Check return value with `< 0` instead of `== -1`.
Diffstat (limited to 'runtime/syntax/php.vim')
0 files changed, 0 insertions, 0 deletions