]> git.lyx.org Git - lyx.git/blobdiff - src/FontLoader.h
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / FontLoader.h
index 9ddd8e1f3ae233e579d8206685da8e20148da15c..66e1676068c11b54cb620892b4e68bd305bddf34 100644 (file)
@@ -53,10 +53,10 @@ public:
        
 private:
        /// Array of font structs
-       XFontStruct * fontstruct[9][2][4][10];
+       XFontStruct * fontstruct[LyXFont::NUM_FAMILIES][2][4][10];
 
        /// Array of font infos
-       FontInfo * fontinfo[9][2][4];
+       FontInfo * fontinfo[LyXFont::NUM_FAMILIES][2][4];
 
        /// Reset font handler
        void reset();