Simplify if statement

This commit is contained in:
Keith Winstein
2011-02-05 04:46:37 -05:00
parent ee6e6d0e8f
commit 80f469bdc6
+1 -2
View File
@@ -110,8 +110,7 @@ std::string Display::new_frame( Framebuffer &f )
x += cell->width;
if ( cell->contents.empty() ) {
} else {
if ( !cell->contents.empty() ) {
cursor_x += cell->width;
}
}