cons/canvas: remove useless condition because always true

This commit is contained in:
Riccardo Schirone 2015-05-31 20:04:55 +02:00 committed by pancake
parent da16e1424d
commit ac3a153925

View File

@ -305,8 +305,7 @@ R_API void r_cons_canvas_box(RConsCanvas *c, int x, int y, int w, int h, const c
memset (row+1, '-', w-2);
if (w>1)
row[w-1] = roundcorners?'.':corner;
if (w>=0)
row[w] = 0;
row[w] = 0;
if (G(x, y)) {
W(row);
}