Skip to content

Commit

Permalink
Added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
modelonrobinandersson committed Oct 4, 2024
1 parent b946b95 commit a728681
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Import/src/FMI3/fmi3_import.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ fmi3_import_t* fmi3_import_parse_xml(

if (jm_get_dir_abspath(context->callbacks, dirPath, absPath, FILENAME_MAX + 2)) {
size_t len = strlen(absPath);
// Compared to FMI2, in FMI3 we need to add a trailing file separator below
strcpy(absPath + len, FMI_FILE_SEP "resources" FMI_FILE_SEP);
fmu->resourcePath = fmi_import_create_URL_from_abs_path(context->callbacks, absPath);
}
Expand Down

0 comments on commit a728681

Please sign in to comment.