From 913129e5a13a97ada15c5d8fd20e7f7404026ed5 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 15 Sep 2021 09:39:52 +1000 Subject: Document lifetime of FontSpecification::fontName. --- src/Style.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Style.h b/src/Style.h index 14112e092..23a1b265f 100644 --- a/src/Style.h +++ b/src/Style.h @@ -11,6 +11,7 @@ namespace Scintilla::Internal { struct FontSpecification { + // fontName is allocated by a ViewStyle container object and may be null const char *fontName; int size; Scintilla::FontWeight weight = Scintilla::FontWeight::Normal; -- cgit v1.2.3