Files
VVVVVV/desktop_version/src
Misa 3eb3c30817 Use SDL_arraysize() - 1 to take length of INTERIM_COMMIT
Since INTERIM_COMMIT is a char array whose size we know for sure at
compile time, and which we also know is an array (instead of being a
pointer), we can take the SDL_arraysize() of it. However,
SDL_arraysize() doesn't account for the null terminator unlike
SDL_strlen(), so we'll have to do it ourselves. But at least we are
guaranteed to get a constant value at compile time, unlike if we use
SDL_strlen(), which would be repeatedly evaluating a constant value at
runtime.

To my knowledge, there's no equivalent SDL_arraysize() for constant
strings, and a quick `rg` (ripgrep) for "sizeof" in the SDL include/
folder doesn't show anything like that. So we'll just have to use the
SDL_arraysize() - 1 and deal with it.
2020-12-26 00:57:51 -05:00
..
2020-11-03 13:31:56 -05:00
2020-11-03 13:31:56 -05:00
2020-01-08 10:37:50 -05:00
2020-08-09 13:39:12 -04:00
2020-08-02 23:43:55 -04:00
2020-12-24 12:01:37 -05:00
2020-12-24 12:01:37 -05:00
2020-11-03 13:25:03 -05:00
2020-11-17 12:17:04 -05:00
2020-12-24 12:01:37 -05:00
2020-09-27 16:31:40 -04:00
2020-08-02 23:43:55 -04:00
2020-11-04 12:06:57 -05:00
2020-11-04 12:06:57 -05:00