From da5e3d776d016db9bb94e2c59291a9af54c44db0 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 18 Mar 2014 09:53:08 +1100 Subject: Minor tweaks to avoid ststic checking warnings. --- src/ViewStyle.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ViewStyle.cxx') diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 503775dbf..b1c9dc10b 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -310,9 +310,9 @@ void ViewStyle::Refresh(Surface &surface, int tabInChars) { styles[i].extraFontFlag = extraFontFlag; } - CreateFont(styles[STYLE_DEFAULT]); + CreateAndAddFont(styles[STYLE_DEFAULT]); for (unsigned int j=0; j