Skip to content

Restore CHAR_WIDTH - #740

Merged
timangus merged 2 commits into
ioquake:mainfrom
zturtleman:restore-char-width
Jul 24, 2025
Merged

Restore CHAR_WIDTH#740
timangus merged 2 commits into
ioquake:mainfrom
zturtleman:restore-char-width

Conversation

@zturtleman

Copy link
Copy Markdown

Undefine CHAR_WIDTH from libc instead of renaming CGame's CHAR_WIDTH.

Renaming CHAR_WIDTH to CHARACTER_WIDTH make it's inconsistent with CHAR_HEIGHT. It would also require renaming it in mods/derivatives. There isn't any meaningful value from doing this.

Having access to C23 CHAR_WIDTH in CGame to know char type is 8 bits isn't likely to be useful.

@timangus
timangus merged commit 84715f4 into ioquake:main Jul 24, 2025
4 checks passed
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.

2 participants