An error occurred while fetching folder content.
linting: don't try to put the cursor at a negative x position
Benno Schulenberg authored
Human column numbers are one-based, whereas x positions are zero-based.
Converting from the one to the other involves subtracting one.  But when
the linter message does not provide a column number, the latter defaults
to zero.  Catch that case and change the number to one.

This fixes https://savannah.gnu.org/bugs/?51550.
c24432ed
Name Last commit Last update