Plane.hh: fix up indentation #1020

pull/1022/head
nick black 4 years ago committed by Nick Black
parent 97dc50db1a
commit 73f9973a2c

@ -1111,19 +1111,19 @@ namespace ncpp
ncplane* create_plane (Plane &n, int rows, int cols, int yoff, NCAlign align, void *opaque) ncplane* create_plane (Plane &n, int rows, int cols, int yoff, NCAlign align, void *opaque)
{ {
ncplane_options nopts = { ncplane_options nopts = {
yoff, yoff,
static_cast<ncalign_e>(align), static_cast<ncalign_e>(align),
rows, rows,
cols, cols,
opaque, opaque,
nullptr, nullptr,
0 0
}; };
ncplane *ret = ncplane_create ( ncplane *ret = ncplane_create (
n.plane, n.plane,
&nopts &nopts
); );
if (ret == nullptr) if (ret == nullptr)
throw init_error ("Notcurses failed to create an aligned plane"); throw init_error ("Notcurses failed to create an aligned plane");

Loading…
Cancel
Save