Adjustments to wildcard engine
Fixed incorrect logic when checking at the end of the string - some of the names had an added null character Removed case sensitivity
This commit is contained in:
@@ -166,7 +166,6 @@ bool GDFX::ReadEntry(ParseState& state, const uint8_t* buffer,
|
||||
|
||||
GDFXEntry* entry = new GDFXEntry();
|
||||
entry->name = std::string(name, name_length);
|
||||
entry->name.append(1, '\0');
|
||||
entry->attributes = (X_FILE_ATTRIBUTES)attributes;
|
||||
|
||||
// Add to parent.
|
||||
|
||||
Reference in New Issue
Block a user