ImGuiColorTextEdit
ImGuiColorTextEdit copied to clipboard
Double assignment to 'inComment'
Just found this because GCC gave me a "sequence point" warning (note how inComment is assigned twice):
https://github.com/BalazsJako/ImGuiColorTextEdit/blob/0a88824f7de8d0bd11d8419066caa7d3469395c4/TextEditor.cpp#L2345
Not sure if this is a simple typo, or whether there should indeed be two variables assigned.
This appears to be a typo since inComment is a bool (no operator magic) and the right hand of the first inComment is the other inComment.