Update line.cpp

small fix