Changeset [b020bea0056a697a9bc131227d3321838551613e] by Thell Fowler
Revision b020bea0056a697a9bc131227d3321838551613e,
committed by Thell Fowler
· February 4th, 2010 @ 03:57 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/b020bea0056a...
1 changed file
-
M
PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp