summaryrefslogtreecommitdiff
path: root/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
blob: b4eff10186357aebf8c3fa3f780c017ef15e74cc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/muttprint
+++ b/muttprint
@@ -1635,7 +1635,7 @@
 	open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!";
 	
 	while (<AUX>) {
-		($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/;
+		($numberOfPages) = /\\newlabel\{LastPage}\{\{}\{(\d+)}}/;
 	}
 	
 	close AUX or fatalError "Could not close $auxfile:\n$!";