aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-26 09:32:20 (GMT)
committerfluxgen <fluxgen>2002-04-26 09:32:20 (GMT)
commitdb81115d91dfbcacf246e32f2d257eeb1fc03322 (patch)
tree10fa5ff47489c513260888d0b9b899ed569924b9
parent9ed4deca19569bfd8494830838fff09b83196e91 (diff)
downloadfluxbox_pavel-db81115d91dfbcacf246e32f2d257eeb1fc03322.zip
fluxbox_pavel-db81115d91dfbcacf246e32f2d257eeb1fc03322.tar.bz2
fixed m_multibyte
-rw-r--r--src/Font.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Font.cc b/src/Font.cc
index 7e4a5ac..dd1dc2a 100644
--- a/src/Font.cc
+++ b/src/Font.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Font.cc,v 1.4 2002/03/27 18:47:44 fluxgen Exp $ 22//$Id: Font.cc,v 1.5 2002/04/26 09:32:20 fluxgen Exp $
23 23
24 24
25#include "Font.hh" 25#include "Font.hh"
@@ -42,6 +42,7 @@
42#ifdef HAVE_SETLOCALE 42#ifdef HAVE_SETLOCALE
43#include <locale.h> 43#include <locale.h>
44#endif //HAVE_SETLOCALE 44#endif //HAVE_SETLOCALE
45#include "i18n.hh"
45 46
46namespace FbTk 47namespace FbTk
47{ 48{
@@ -53,6 +54,8 @@ m_display(display) {
53 m_font.fontstruct = 0; 54 m_font.fontstruct = 0;
54 m_font.set_extents = 0; 55 m_font.set_extents = 0;
55 m_font.set = 0; 56 m_font.set = 0;
57 //TODO: should only be done once
58 m_multibyte = I18n::instance()->multibyte();
56 if (name!=0) { 59 if (name!=0) {
57 load(name); 60 load(name);
58 } 61 }