1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix some memory leaks and code style issues

Maximum line length is 95 characters.
Some members' name are changed.
Struct initialisations use brace syntax; eliminating the usage of the memset function.
Iterations use for-each-loop instead of while-loop+iterator.
char * -> std::string
button_info * -> std::shared_ptr<button_info>
This commit is contained in:
Muhammad Rifqi Priyo Susanto 2023-06-28 14:00:00 +07:00
parent 8e09077de8
commit 3a47559e86
3 changed files with 380 additions and 422 deletions

File diff suppressed because it is too large Load diff