summaryrefslogtreecommitdiff
blob: 0e7a4b4f94ff27cbcd933a7e9f44ef944f2d7685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nuar a/muttprint b/muttprint
--- a/muttprint	2016-09-23 10:03:48.870030157 +0200
+++ b/muttprint	2016-09-23 10:08:39.310036004 +0200
@@ -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$!";