[plane] properly initialize options in unit test

dankamongmen/windows-tester
nick black 3 years ago
parent 0877973b10
commit 50f6cf72b2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -103,7 +103,7 @@ TEST_CASE("Plane") {
}
SUBCASE("StandardPlaneChild") {
struct ncplane_options nopts;
struct ncplane_options nopts{};
nopts.rows = ncplane_dim_y(n_);
nopts.cols = ncplane_dim_x(n_);
auto n = ncplane_create(n_, &nopts);

Loading…
Cancel
Save