aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-09-15 09:39:52 +1000
committerNeil <nyamatongwe@gmail.com>2021-09-15 09:39:52 +1000
commit913129e5a13a97ada15c5d8fd20e7f7404026ed5 (patch)
treed43cb781274185e0089d51313eb77e31d26fef7b /src
parent3073106115483a07dab4d9bc54519fb218d3c6d3 (diff)
downloadscintilla-mirror-913129e5a13a97ada15c5d8fd20e7f7404026ed5.tar.gz
Document lifetime of FontSpecification::fontName.
Diffstat (limited to 'src')
-rw-r--r--src/Style.h1
1 files changed, 1 insertions, 0 deletions
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;