mirror of
https://github.com/Garhoogin/NitroPaint.git
synced 2025-06-18 14:25:31 -04:00
Prevent accidentally opening BNCMP
This commit is contained in:
parent
28e46e7db3
commit
e08f63806b
@ -375,6 +375,7 @@ int ObjIdentify(char *file, int size, LPCWSTR path) {
|
||||
|
||||
//test other formats
|
||||
if (NftrIdentify(buffer, bufferSize)) type = FILE_TYPE_FONT;
|
||||
else if (BncmpIdentify(buffer, bufferSize)) type = FILE_TYPE_CMAP;
|
||||
else if (TexarcIsValidBmd(buffer, bufferSize)) type = FILE_TYPE_NSBTX;
|
||||
else if (combo2dIsValid(buffer, bufferSize)) type = FILE_TYPE_COMBO2D;
|
||||
else if (ChrIsValidIcg(buffer, bufferSize)) type = FILE_TYPE_CHAR;
|
||||
|
Loading…
Reference in New Issue
Block a user