Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should address the issue that the problem patch to display_pickinv() was trying to deal with: releasing the inventory window before exiting the program so Pasi's memory checker doesn't think it's a memory leak. Not related, but in the same file: The older qsort comparison routines are tagged with CFDECLSPEC to deal with some C vs C++ interaction issue. I added that to the relatively recently added 'sortloot' qsort compare callback. I also changed worn_wield_only(), although it isn't actually called. (display_minventory() has provisions to call it, but both of the latter's callers pass in MINV_ALL so allow_all() gets used instead.)
- Loading branch information
PatR
committed
Nov 3, 2015
1 parent
91369e7
commit 69b13d5
Showing
4 changed files
with
214 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.