From f914d1747d3657f3c3d1281e630b129de9d4297e Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 17 Feb 2012 19:29:46 -0500 Subject: [PATCH] Replace C++0x nullptr with 0 Signed-off-by: Anders Kaseorg --- src/frontend/terminaloverlay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/terminaloverlay.cc b/src/frontend/terminaloverlay.cc index 1e4d30d..cb2456d 100644 --- a/src/frontend/terminaloverlay.cc +++ b/src/frontend/terminaloverlay.cc @@ -225,7 +225,7 @@ void NotificationEngine::apply( Framebuffer &fb ) const wchar_t ch = *i; int chwidth = ch == L'\0' ? -1 : wcwidth( ch ); - Cell *this_cell = nullptr; + Cell *this_cell = 0; switch ( chwidth ) { case 1: /* normal character */