aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-04-25 01:00:45 +0000
committernyamatongwe <devnull@localhost>2007-04-25 01:00:45 +0000
commit92d8613dd74f5475b12e6cfad1757aabf1e51004 (patch)
treef6480e7f055f42bc730655c47b0139c022d84290 /src/ViewStyle.h
parent2db65e1ed57216801b5074d4fb7c422b4641c807 (diff)
downloadscintilla-mirror-92d8613dd74f5475b12e6cfad1757aabf1e51004.tar.gz
Made fontNames array grow when needed. Fixes bug 1339845 and
lessens memory use.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 86eae63c0..eb4e8dc11 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -23,7 +23,8 @@ public:
*/
class FontNames {
private:
- char *names[STYLE_MAX + 1];
+ char **names;
+ int size;
int max;
public: