logerror: newlines on output

pull/1409/head
nick black 3 years ago
parent d8d8251a0e
commit d9fe3f7c78
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -178,7 +178,7 @@ void cell_release(ncplane* n, nccell* c){
// Duplicate one cell onto another when they share a plane. Convenience wrapper.
int cell_duplicate(ncplane* n, nccell* targ, const nccell* c){
if(cell_duplicate_far(&n->pool, targ, n, c) < 0){
logerror(ncplane_notcurses(n), "Failed duplicating cell");
logerror(ncplane_notcurses(n), "Failed duplicating cell\n");
return -1;
}
return 0;
@ -1406,7 +1406,7 @@ int notcurses_cursor_enable(notcurses* nc, int y, int x){
int notcurses_cursor_disable(notcurses* nc){
if(nc->cursorx < 0 || nc->cursory < 0){
logerror(nc, "Cursor is not enabled");
logerror(nc, "Cursor is not enabled\n");
return -1;
}
if(nc->ttyfd >= 0){

Loading…
Cancel
Save