Skip to content

Commit

Permalink
Update game_bfme2.h
Browse files Browse the repository at this point in the history
  • Loading branch information
anzz1 committed Oct 5, 2023
1 parent 31997c3 commit 4e6dc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/game_bfme2.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ __forceinline static void bfme2_hook_gs() {

// missing options.ini causes crash on startup
__forceinline static void bfme2_create_options() {
char path[MAX_PATH+40];
char path[MAX_PATH+56];
HANDLE hFile = 0;
DWORD dw = 0;
if (SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, 0, path) >= 0) {
Expand Down

0 comments on commit 4e6dc26

Please sign in to comment.