Fixed warning in LSNumLines (returning NULL instead of 0)