Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing comma in hpdf_annotation.c, line 41 #207

Closed
JohnRyland opened this issue Jan 25, 2020 · 1 comment
Closed

Missing comma in hpdf_annotation.c, line 41 #207

JohnRyland opened this issue Jan 25, 2020 · 1 comment

Comments

@JohnRyland
Copy link

The mapping of annotation enum values to strings in HPDF_ANNOT_TYPE_NAMES[] contains a list of corresponding strings. The last two entries are missing a comma between them, I guess someone extended the list to add "Widget" at the end, but didn't add a comma on the entry which was the last entry previously, the "Projection" string. When the C preprocessor sees the string "Projection" followed by the string "Widget", it will concatenate those strings as one string.

bramton added a commit that referenced this issue Jun 10, 2022
@bramton
Copy link
Member

bramton commented Jun 10, 2022

Good catch, fixed in e3f123b

@bramton bramton closed this as completed Jun 10, 2022
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

No branches or pull requests

2 participants