Fix "return 0;" in function returning void (create_box)

This commit is contained in:
Simon Robertshaw 2012-04-25 17:59:14 +02:00
parent b5a52838c7
commit 5a2a3e5c1f

View File

@ -2808,7 +2808,7 @@ void create_box(int x1, int y1, int x2, int y2, int c, int flags)
{ {
int i, j; int i, j;
if (c==SPC_PROP) if (c==SPC_PROP)
return 0; return;
if (x1>x2) if (x1>x2)
{ {
i = x2; i = x2;