From a2da14bfc6727b1255df6f31ac4ce89d4bd881c8 Mon Sep 17 00:00:00 2001 From: gitplcc Date: Mon, 5 Feb 2024 20:29:56 +0100 Subject: [PATCH] Fix wrong macro in obj_description(Obj *op) (#70) --- libastro/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libastro/misc.c b/libastro/misc.c index 264cc5f..7dfdfd6 100644 --- a/libastro/misc.c +++ b/libastro/misc.c @@ -123,7 +123,7 @@ obj_description (Obj *op) case BINARYSTAR: if (op->f_class) { int i; - for (i = 0; i < NFCM; i++) + for (i = 0; i < NBCM; i++) if (binary_class_map[i].classcode == op->f_class) return (binary_class_map[i].desc); }