diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:55:35 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-04 01:10:53 +0200 |
commit | 00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (patch) | |
tree | 33b3465e8515be992049db8cc3fd529660f9731a /kpat/freecell-solver/pqueue.h | |
parent | 9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (diff) | |
download | tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.tar.gz tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit c0f375feba0103bed2bac1b1f05e76e9ae28fa89)
Diffstat (limited to 'kpat/freecell-solver/pqueue.h')
-rw-r--r-- | kpat/freecell-solver/pqueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpat/freecell-solver/pqueue.h b/kpat/freecell-solver/pqueue.h index 875741ae..cef1b854 100644 --- a/kpat/freecell-solver/pqueue.h +++ b/kpat/freecell-solver/pqueue.h @@ -47,7 +47,7 @@ typedef struct _PTQUEUE #define PTQ_PARENT_INDEX(i) ((i)>>1) #define PTQ_FIRST_ENTRY (1) -/* left and right tqchildren are index * 2 and (index * 2) +1 respectively */ +/* left and right children are index * 2 and (index * 2) +1 respectively */ #define PTQ_LEFT_CHILD_INDEX(i) ((i)<<1) #define PTQ_RIGHT_CHILD_INDEX(i) (((i)<<1)+1) |