fix(libastro): fix using wrong macro in obj_description(Obj *op)

This commit is contained in:
gitplcc 2022-12-23 19:06:29 +01:00 committed by GitHub
parent 0a1b50503b
commit 04995d23c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}