mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added some missing braces
This commit is contained in:
parent
d7c07ecbfd
commit
40278ec121
5
osd.c
5
osd.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: osd.c 2.21 2011/04/17 14:25:07 kls Exp $
|
* $Id: osd.c 2.22 2011/05/22 15:18:59 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
@ -594,9 +594,10 @@ void cBitmap::DrawRectangle(int x1, int y1, int x2, int y2, tColor Color)
|
|||||||
x2 = min(x2, width - 1);
|
x2 = min(x2, width - 1);
|
||||||
y2 = min(y2, height - 1);
|
y2 = min(y2, height - 1);
|
||||||
tIndex c = Index(Color);
|
tIndex c = Index(Color);
|
||||||
for (int y = y1; y <= y2; y++)
|
for (int y = y1; y <= y2; y++) {
|
||||||
for (int x = x1; x <= x2; x++)
|
for (int x = x1; x <= x2; x++)
|
||||||
SetIndex(x, y, c);
|
SetIndex(x, y, c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user