Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug #22251 (map labels not appearing in mp)
This fixes a bug introduced in this commit: 90501cf If the variable "res" is redeclared inside the else clause, the desired return value goes out of scope before the function ends, and we always return NULL instead. This commit makes the line assign the variable without redeclaring it.
- Loading branch information