Title says it all. The cause is a simple bad check:
1) "off" translates to 0 internally
2) you do a "if ($line_number)" check, and since it's 0, one is unable to override the setting

Patch attached. Changes similar nearby checks as well for consistency. Super simple patch, hence RTBC.

CommentFileSizeAuthor
linenumber_override.patch969 byteswim leers

Comments

soxofaan’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.