uxtheme: Fix off-by-one error in array size.
This commit is contained in:
parent
ed0c6746dd
commit
1a9810b385
|
@ -674,8 +674,8 @@ static PTHEME_PROPERTY MSSTYLES_AddMetric(PTHEME_FILE tf, int iPropertyPrimitive
|
|||
struct PARSECOLORSTATE
|
||||
{
|
||||
int colorCount;
|
||||
int colorElements[TMT_LASTCOLOR-TMT_FIRSTCOLOR];
|
||||
COLORREF colorRgb[TMT_LASTCOLOR-TMT_FIRSTCOLOR];
|
||||
int colorElements[TMT_LASTCOLOR-TMT_FIRSTCOLOR+1];
|
||||
COLORREF colorRgb[TMT_LASTCOLOR-TMT_FIRSTCOLOR+1];
|
||||
int captionColors;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue