mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
When using the formula [sizeof(array) / sizeof( x )] to get the number of element in a static array, it is better to use array[0] for 'x' instead of the base type of array: - in case the base type would change someday; - if the compiler were deciding to insert padding somewhere
20 KiB
20 KiB