fix bug about -d 4 not being applied on lines that follow a %s whose string ends in \n, such as all sys_gui