Skip to content

Commit

Permalink
fix: set exe path string to empty if fail to get exe path
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Aug 6, 2023
1 parent f78c85e commit 728d3ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions allegro-legacy/src/a5/a5_system.c
Expand Up @@ -63,6 +63,11 @@ static void a5_sys_get_executable_name(char *output, int size)
al_uninstall_system();
}
}
else
{
// local edit
output[0] = '\0';
}
}

static void a5_sys_set_window_title(AL_CONST char * name)
Expand Down

0 comments on commit 728d3ce

Please sign in to comment.