diff --git a/src/gmio_stl/stl_io_options.h b/src/gmio_stl/stl_io_options.h index c1e02c3..80c4dfe 100644 --- a/src/gmio_stl/stl_io_options.h +++ b/src/gmio_stl/stl_io_options.h @@ -78,7 +78,7 @@ struct gmio_stl_write_options * \li calling gmio_stl_write() with options == NULL * \li OR stlb_header_data == NULL */ - const struct gmio_stlb_header* stlb_header_data; + const struct gmio_stlb_header* stlb_header; }; #endif /* GMIO_STL_IO_OPTIONS_H */ diff --git a/tests/test_stl_io.c b/tests/test_stl_io.c index a2ea3d5..e1f9828 100644 --- a/tests/test_stl_io.c +++ b/tests/test_stl_io.c @@ -244,7 +244,7 @@ const char* test_stlb_write() { struct gmio_stl_write_args write = {0}; write.mesh = gmio_stl_data_mesh(&data); - write.options.stlb_header_data = &data.header; + write.options.stlb_header = &data.header; error = gmio_stl_write_file( &write, GMIO_STL_FORMAT_BINARY_LE, model_filepath_out); UTEST_ASSERT(error == GMIO_ERROR_OK);