SCI: Fix error message
svn-id: r44680
This commit is contained in:
parent
64d73415ca
commit
20125b51c4
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) {
|
|||
case PIC_OPX_EGA_SET_PALETTE:
|
||||
byte = data[curPos++];
|
||||
if (byte >= PIC_EGAPALETTE_COUNT) {
|
||||
error("picture trying to write to invalid palette %d", EGApalette);
|
||||
error("picture trying to write to invalid palette %d", (int)byte);
|
||||
}
|
||||
byte *= PIC_EGAPALETTE_SIZE;
|
||||
for (i = 0; i < PIC_EGAPALETTE_SIZE; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue