Removed unused find_line_char function