Open
Description
WindowMsgHandledType Control_Bar_System(GameWindow *window, unsigned int message, unsigned int data_1, unsigned int data_2)
{
...
while (str != nullptr && *str != '\0') {
msg->Append_Wide_Char_Arg(*str);
str++;
}
Can be
WindowMsgHandledType Control_Bar_System(GameWindow *window, unsigned int message, unsigned int data_1, unsigned int data_2)
{
...
if (str != nullptr)
while (*str != '\0') {
msg->Append_Wide_Char_Arg(*str);
str++;
}