all repos — fluxbox @ 68aa6be21661205004e05b49d96f2571df3a8ff7

custom fork of the fluxbox windowmanager

little sanity check
markt markt
commit

68aa6be21661205004e05b49d96f2571df3a8ff7

parent

61ed1fcfb0fe72eb26ffec0963b2501d30b3c4f5

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/FbTk/XmbFontImp.ccsrc/FbTk/XmbFontImp.cc

@@ -292,6 +292,8 @@ }

#endif // X_HAVE_UTF8_STRING string localestr = text; + if (len > localestr.length()) + len = localestr.length(); localestr.erase(len, string::npos); localestr = FbStringUtil::FbStrToLocale(localestr); XmbTextExtents(m_fontset, localestr.data(), localestr.size(),