--- src/FbTk/FbWindow.cc 2007-05-05 18:11:32.000000000 -0400 +++ ../fluxbox-1.0rc3/src/FbTk/FbWindow.cc 2007-03-19 15:57:07.000000000 -0400 @@ -467,7 +467,6 @@ char ** stringlist = 0; int count; std::string ret; - int xret; static Atom m_utf8string = XInternAtom(display(), "UTF8_STRING", False); @@ -483,14 +482,7 @@ ret = FbStringUtil::XStrToFb(stringlist[0]); } else if (text_prop.encoding == m_utf8string && text_prop.format == 8) { #ifdef X_HAVE_UTF8_STRING - xret = Xutf8TextPropertyToTextList(display(), &text_prop, &stringlist, &count); - if ( xret == XNoMemory ) - return ""; - else if( xret == XLocaleNotSupported ) - return ""; - else if( xret == XConverterNotFound ) - return ""; - + Xutf8TextPropertyToTextList(display(), &text_prop, &stringlist, &count); if (count == 0) return ""; #else