X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=3ef3df989bd6e5380d6ce39a64db2bf9b4b23fab;hp=7ebbee1fbe199c0d917d071dd0c37262af7e1a26;hb=12d655114089868b305a112845ec0170ce664745;hpb=368684d4c5e2a59cbea8c5e35171f3fe008b844f diff --git a/src/main.c b/src/main.c index 7ebbee1f..3ef3df98 100644 --- a/src/main.c +++ b/src/main.c @@ -7839,7 +7839,7 @@ static void InitProgramConfig(char *command_filename) strlen(setup.internal.program_icon_file) > 0) program_icon_file = getStringCopy(setup.internal.program_icon_file); -#if defined(PLATFORM_WIN32) || defined(PLATFORM_MACOSX) +#if defined(PLATFORM_WIN32) || defined(PLATFORM_MACOSX) || defined(PLATFORM_EMSCRIPTEN) userdata_subdir = program_title; #elif defined(PLATFORM_UNIX) userdata_subdir = userdata_subdir_unix;