From 83fb219e62113a9f41888af4f2726e5ce5305970 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 10 Sep 2008 19:17:52 +0000 Subject: serverside entities --- src/auxiliary/functions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/auxiliary') diff --git a/src/auxiliary/functions.cc b/src/auxiliary/functions.cc index a6187af..860524a 100644 --- a/src/auxiliary/functions.cc +++ b/src/auxiliary/functions.cc @@ -149,7 +149,7 @@ void to_label(std::string &text) size_t pos = 0; while (pos < text.size()) { - if ((text[pos] == ' ') || (text[pos] == '-')) { + if ((text[pos] == ' ') || (text[pos] == '-') || (text[pos] == '_')) { text[pos] = '_'; pos++; } else if ((text[pos] >= 'A') && (text[pos] <= 'Z')) { -- cgit v1.2.3