diff --git a/bin/syncqt.pl b/bin/syncqt.pl index cca654e3b4e03b8cf27adbc6c2c98bdea18310b6..93c962cf90c834009d6d63efccd7d32ed0c4c5de 100755 --- a/bin/syncqt.pl +++ b/bin/syncqt.pl @@ -182,6 +182,7 @@ sub shouldMasterInclude { if (open(F, "<$iheader")) { while (<F>) { chomp; + chop if /\r$/; return 0 if (/^\#pragma qt_no_master_include$/); } close(F);