Changeset [75c84486894cb5be4746f65ededcc54f7344df8d] by Thell Fowler
Revision 75c84486894cb5be4746f65ededcc54f7344df8d,
committed by Thell Fowler
· February 8th, 2010 @ 03:20 PM
ScintillaEditView.cpp: fix createHotSpotFromStyle mem leak
- When a document view is activated that has a hotspot style enabled a memory leak for the generic_name was caused because of the new TCHAR pointer. This change deletes it after setting the fontname for the outHotSpot.
- Also corrects the nativeLangEncodingCopy value which was a constant -1 instead of keeping a static value of the nativeLangEncoding.
[#37]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/75c84486894c...
1 changed file
-
M
PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp