From fa62a9d166b5959de2b48af3afbe5bd0c499ddcb Mon Sep 17 00:00:00 2001 From: WMJ Date: Tue, 4 Feb 2025 09:18:20 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=8D=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E4=B8=BA=E6=97=A0=E8=B7=B3=E8=BD=AC=E7=9B=AE=E6=A0=87=E4=B9=A6?= =?UTF-8?q?=E7=AD=BE=E8=AE=BE=E7=BD=AE=E9=A1=B5=E7=A0=81=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Processor/InfoXmlProcessors/ChangePageNumberProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/Processor/InfoXmlProcessors/ChangePageNumberProcessor.cs b/App/Processor/InfoXmlProcessors/ChangePageNumberProcessor.cs index e14c707..27e9a4a 100644 --- a/App/Processor/InfoXmlProcessors/ChangePageNumberProcessor.cs +++ b/App/Processor/InfoXmlProcessors/ChangePageNumberProcessor.cs @@ -21,7 +21,7 @@ namespace PDFPatcher.Processor int p = item.GetValue(Constants.DestinationAttributes.Page, 0); var a = item.GetValue(Constants.DestinationAttributes.Action); if (a != Constants.ActionType.Goto && a != Constants.ActionType.GotoR - && (a is null && TakeFollowing) == false + && (a is null && TakeFollowing) == false && Amount == 0 || String.IsNullOrEmpty(a) == false && p <= 0) { return null; }