Martijn Laan 2 nedēļas atpakaļ
vecāks
revīzija
7f5bc3b2ce
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 1 1
      Projects/Src/Shared.TaskDialogFunc.pas
  2. 1 0
      whatsnew.htm

+ 1 - 1
Projects/Src/Shared.TaskDialogFunc.pas

@@ -180,7 +180,7 @@ begin
   end;
   end;
 
 
   { Allow extra label to replace TDCBF_CANCEL_BUTTON by an IDCANCEL button id }
   { Allow extra label to replace TDCBF_CANCEL_BUTTON by an IDCANCEL button id }
-  if (TDCommonButtons or TDCBF_CANCEL_BUTTON <> 0) and
+  if (TDCommonButtons and TDCBF_CANCEL_BUTTON <> 0) and
      (NButtonLabelsAvailable-1 = Length(ButtonIDs)) then begin
      (NButtonLabelsAvailable-1 = Length(ButtonIDs)) then begin
     TDCommonButtons := TDCommonButtons and not TDCBF_CANCEL_BUTTON;
     TDCommonButtons := TDCommonButtons and not TDCBF_CANCEL_BUTTON;
     SetLength(ButtonIDs, NButtonLabelsAvailable);
     SetLength(ButtonIDs, NButtonLabelsAvailable);

+ 1 - 0
whatsnew.htm

@@ -82,6 +82,7 @@ For conditions of distribution and use, see <a href="files/is/license.txt">LICEN
 </ul>
 </ul>
 </li>
 </li>
 <li>Pascal Scripting: Added new <tt>LogFmt</tt> support function.</li>
 <li>Pascal Scripting: Added new <tt>LogFmt</tt> support function.</li>
+<li>Minor tweaks and fixes.</li>
 </ul>
 </ul>
 
 
 <p>Using Inno Setup commercially? Please <a href="https://jrsoftware.org/isorder.php">purchase a license</a>.</p>
 <p>Using Inno Setup commercially? Please <a href="https://jrsoftware.org/isorder.php">purchase a license</a>.</p>