This commit is contained in:
Joshua Peisach 2023-10-03 12:13:32 -04:00 committed by GitHub
parent cc32fc0e5b
commit e90190b122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ MxResult MxBitmap::ImportColorsToPalette(RGBQUAD* p_rgbquad, MxPalette* p_palett
return ret;
} else {
MxPalette local_pal;
if (!local_pal.GetEntries(entries))
if (local_pal.GetEntries(entries))
return ret;
}