Skip to content

fix issue 158 off by one in auto_detect_language and lang_max_id docs#159

Merged
absadiki merged 1 commit into
absadiki:mainfrom
scottmonster:fix-158
May 14, 2026
Merged

fix issue 158 off by one in auto_detect_language and lang_max_id docs#159
absadiki merged 1 commit into
absadiki:mainfrom
scottmonster:fix-158

Conversation

@scottmonster

Copy link
Copy Markdown
Contributor

fixes issue 158

@absadiki

Copy link
Copy Markdown
Owner

Good catch @scottmonster.
lang_max_id() is being treated as a count here when it's actually the maximum valid ID, so the last language gets skipped.
Thanks for the PR.

@absadiki absadiki merged commit c2a9c36 into absadiki:main May 14, 2026
120 of 132 checks passed
@scottmonster scottmonster deleted the fix-158 branch May 15, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Off by one bug in auto_detect_language

2 participants