mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
[plane] properly initialize options in unit test
This commit is contained in:
parent
0877973b10
commit
50f6cf72b2
@ -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…
x
Reference in New Issue
Block a user