Update expression, that will always be false

This commit is contained in:
Sevban Bayrak
2022-01-29 01:15:47 +03:00
parent b1411b16e3
commit 7d30cf8662
+1 -3
View File
@@ -181,9 +181,7 @@ func detectWatermarkPDF(file, signature string) bool {
}
func addWatermarkPDF(file, signature string) {
onTop := false
update := false
wm, _ := api.TextWatermark(signature, "sc:.9, rot:0, mo:1, op:0", onTop, update, pdfcpu.POINTS)
wm, _ := api.TextWatermark(signature, "sc:.9, rot:0, mo:1, op:0", false, false, pdfcpu.POINTS)
api.AddWatermarksFile(file, "", nil, wm, nil)
}