[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/timsort 63c1f0d58d: ; Fix mistake in last commit (use of wrong v
From: |
Mattias Engdegård |
Subject: |
scratch/timsort 63c1f0d58d: ; Fix mistake in last commit (use of wrong variable) |
Date: |
Thu, 17 Mar 2022 07:55:03 -0400 (EDT) |
branch: scratch/timsort
commit 63c1f0d58d846095eac1bde726e0c72856a9deec
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; Fix mistake in last commit (use of wrong variable)
---
src/sort.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sort.c b/src/sort.c
index a2c3c4d8e5..24469ef99d 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -917,7 +917,7 @@ tim_sort (Lisp_Object predicate, Lisp_Object *seq, const
ptrdiff_t length)
{
/* Attempt to resolve the function as far as possible ahead of time,
to avoid having to do it for each call. */
- Lisp_Object fun = XSYMBOL (fun)->u.s.function;
+ Lisp_Object fun = XSYMBOL (predicate)->u.s.function;
if (SYMBOLP (fun))
/* Function was an alias; use slow-path resolution. */
fun = indirect_function (fun);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- scratch/timsort 63c1f0d58d: ; Fix mistake in last commit (use of wrong variable),
Mattias Engdegård <=