diff options
author | Darrell Anderson <[email protected]> | 2014-02-16 11:58:16 -0600 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2014-02-16 11:58:16 -0600 |
commit | a4a1e079e32c2fa58a501da2aee5a052394b0ee3 (patch) | |
tree | 6ebbc4596753b66000a1a5163953d12a35131dce /kpat/freecell-solver/pqueue.h | |
parent | 3a2b903b2d9f60959a8e194bc2462125b0b67e3e (diff) | |
download | tdegames-a4a1e079e32c2fa58a501da2aee5a052394b0ee3.tar.gz tdegames-a4a1e079e32c2fa58a501da2aee5a052394b0ee3.zip |
Fix unintended renaming
Diffstat (limited to 'kpat/freecell-solver/pqueue.h')
-rw-r--r-- | kpat/freecell-solver/pqueue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpat/freecell-solver/pqueue.h b/kpat/freecell-solver/pqueue.h index f74068a8..cf5f5372 100644 --- a/kpat/freecell-solver/pqueue.h +++ b/kpat/freecell-solver/pqueue.h @@ -44,12 +44,12 @@ typedef struct _PQUEUE a "sentinel" value at 0 these macros are useful in making the code clearer */ /* the parent is always given by index/2 */ -#define PTQ_PARENT_INDEX(i) ((i)>>1) -#define PTQ_FIRST_ENTRY (1) +#define PQ_PARENT_INDEX(i) ((i)>>1) +#define PQ_FIRST_ENTRY (1) /* 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) +#define PQ_LEFT_CHILD_INDEX(i) ((i)<<1) +#define PQ_RIGHT_CHILD_INDEX(i) (((i)<<1)+1) void freecell_solver_PQueueInitialise( PQUEUE *pq, |