From 5acb82640de972b2816873ee92ec4ea2d0e5273a Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 25 Feb 2024 12:36:19 -0800 Subject: [PATCH] update a getpos() comment Not a typo this time; the highlight-valid-position callback interface was simplified. --- src/do_name.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/do_name.c b/src/do_name.c index 9d8f765b0..59f988447 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -44,8 +44,8 @@ nextmbuf(void) return bufs[bufidx]; } -/* function for getpos() to highlight desired map locations. - * parameter value 0 = initialize, 1 = highlight, 2 = done +/* Callback function for getpos() to highlight desired map locations. + * Parameter TRUE: initialize and highlight, FALSE: done (remove highlights). */ static void (*getpos_hilitefunc)(boolean) = (void (*)(boolean)) 0; static boolean (*getpos_getvalid)(coordxy, coordxy)