mode is not set to _mode but rather mode_ptr->name which is a copy of _mode
This commit is contained in:
parent
c42ec7676d
commit
b2e879cc88
@ -1220,7 +1220,7 @@ static void* load_mode(char* _mode, struct mode* mode_ptr, struct map* props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(mode == NULL && no_entry != NULL && no_entry()) {
|
if(mode == NULL && no_entry != NULL && no_entry()) {
|
||||||
mode = _mode;
|
mode = mode_ptr->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(size_t count = 0; count < arg_count; ++count) {
|
for(size_t count = 0; count < arg_count; ++count) {
|
||||||
|
Loading…
Reference in New Issue
Block a user