fix diff error in case of line_left out of range (#13644)
Authored by: tmaruyama 2013-04-05
Parent: [r11706]
Child: [r11708]