VC2005 Support compilable and runnable in debug mode. AJ187 confirmed these changes work in VC2003, so nothing should be broken. Thanks to Mystik EE of DDRUK for the assistance.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <streams.h>
|
||||
#include <limits.h>
|
||||
#include <dvdmedia.h>
|
||||
#include <wingdi.h>
|
||||
|
||||
static UINT MsgDestroy;
|
||||
|
||||
@@ -2104,7 +2105,8 @@ HRESULT CImagePalette::MakeIdentityPalette(PALETTEENTRY *pEntry,INT iColours, LP
|
||||
// I am not sure what will be in the flags fields for the system entries
|
||||
|
||||
UINT Result = GetSystemPaletteEntries(hdc,0,PalLoCount,SystemEntries);
|
||||
for (UINT Count = 0;Count < Result;Count++) {
|
||||
UINT Count;
|
||||
for (Count = 0;Count < Result;Count++) {
|
||||
if (SystemEntries[Count].peRed != pEntry[Count].peRed ||
|
||||
SystemEntries[Count].peGreen != pEntry[Count].peGreen ||
|
||||
SystemEntries[Count].peBlue != pEntry[Count].peBlue) {
|
||||
|
||||
Reference in New Issue
Block a user