Browse Source

Use XftDrawStringUtf8 in Panel::SlimDrawString8 #3314

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@230 7c53e7cc-98ea-0310-8f1f-a0b24da60408
iwamatsu 11 years ago
parent
commit
0343b88bb3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panel.cpp

+ 2 - 2
panel.cpp

@@ -604,10 +604,10 @@ void Panel::SlimDrawString8(XftDraw *d, XftColor *color, XftFont *font,
 							int xOffset, int yOffset)
 {
 	if (xOffset && yOffset) {
-		XftDrawString8(d, shadowColor, font, x+xOffset, y+yOffset,
+		XftDrawStringUtf8(d, shadowColor, font, x+xOffset, y+yOffset,
 					   reinterpret_cast<const FcChar8*>(str.c_str()), str.length());
 	}
-	XftDrawString8(d, color, font, x, y, reinterpret_cast<const FcChar8*>(str.c_str()), str.length());
+	XftDrawStringUtf8(d, color, font, x, y, reinterpret_cast<const FcChar8*>(str.c_str()), str.length());
 }
 
 Panel::ActionType Panel::getAction(void) const{