Restore asserts and error handling

A couple of them got improved out of existence.
This commit is contained in:
John Hood
2017-08-13 00:27:23 -04:00
parent 790b479f8a
commit b11d524bb7
6 changed files with 27 additions and 22 deletions
+2 -1
View File
@@ -298,8 +298,9 @@ void NotificationEngine::apply( Framebuffer &fb ) const
}
break;
case -1: /* unprintable character */
default: /* Bogus width, ignore. */
break;
default:
assert( !"unexpected character width from wcwidth()" );
}
}
}