openvanilla / McBopomofo

小麥注音輸入法
http://mcbopomofo.openvanilla.org/
MIT License
624 stars 76 forks source link

Sync linted C++ source with fcitx5-mcbopomofo #413

Closed lukhnos closed 9 months ago

lukhnos commented 9 months ago

This carries over several fixes there.

Note: after this, the header guards will be like "SRC_ENGINE_FOO_H" in accordance with Google C++ style. We understand that in the macOS version, the source is located in Source/. However the source in fcitx5-mcbopomofo is in src/. Since we do most of the linting and tidying there, we think it makes sense to use the header guards this way.