all repos — fluxbox @ fa1692180e18f95c9e8f46d37c5bb8797eeebd5a

custom fork of the fluxbox windowmanager

fix #1057499
akir akir
commit

fa1692180e18f95c9e8f46d37c5bb8797eeebd5a

parent

3bbb3e62442bcdf1ba7b7eea97b4dbe054146f61

1 files changed, 5 insertions(+), 4 deletions(-)

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

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Font.cc,v 1.21 2004/09/11 22:58:20 fluxgen Exp $ +//$Id: Font.cc,v 1.22 2004/10/31 23:04:30 akir Exp $ #include "StringUtil.hh"

@@ -364,8 +364,9 @@

std::list< std::string > tokens; std::string fname; - fname= std::string(name.c_str(), sep + 1); - FbTk::StringUtil::stringtok(tokens, name.substr(sep + 1, name.length()), ","); + fname= std::string(name.c_str(), sep); + + FbTk::StringUtil::stringtok(tokens, name.substr(sep + 1), ","); tokens.unique(); bool firstone= true;

@@ -386,7 +387,7 @@ if ( !firstone )

fname+= ", "; else firstone= false; - fname= fname + *token; + fname= fname + ":" + *token; } }