Skip to content

Commit 8918dbb

Browse files
committed
chg - Increment index number when displaying
--- Type: chg Breaking: False Doc Required: False Backport Required: False Part: 1/1
1 parent 684b13b commit 8918dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/Nitrocid/Kernel/Starting/KernelInitializers.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ private static string PopulateExceptionText(List<Exception> exceptions)
841841
Exception exception = exceptions[i];
842842

843843
// Write the exception header
844-
string exceptionHeader = $"{Translate.DoTranslation("Exception")} {i}/{exceptions.Count}";
844+
string exceptionHeader = $"{Translate.DoTranslation("Exception")} {i + 1}/{exceptions.Count}";
845845
exceptionsBuilder.AppendLine(exceptionHeader);
846846
exceptionsBuilder.AppendLine(new string('=', ConsoleChar.EstimateCellWidth(exceptionHeader)));
847847

0 commit comments

Comments
 (0)