mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
c++ ncplane: braces around initializer
This commit is contained in:
parent
f9e2c7863b
commit
0a3f697bc7
@ -480,6 +480,7 @@ namespace ncpp
|
||||
return error_guard<int> (ncplane_putwegc_yx (plane, y, x, gclust, sbytes), -1);
|
||||
}
|
||||
|
||||
#undef putwc
|
||||
// OK, this is ugly, but we need to rename this overload or calls similar to n->putc (0, 0, '0') will be
|
||||
// considered ambiguous with the above `putc (int, int, char)` overload.
|
||||
int putwc (int y, int x, wchar_t w) const NOEXCEPT_MAYBE
|
||||
@ -1187,7 +1188,7 @@ namespace ncpp
|
||||
{
|
||||
ncplane_options nopts = {
|
||||
yoff,
|
||||
static_cast<ncalign_e>(align),
|
||||
{ static_cast<ncalign_e>(align) },
|
||||
rows,
|
||||
cols,
|
||||
opaque,
|
||||
|
Loading…
Reference in New Issue
Block a user