From fde16eeea10b28f730d79e0f31b042ba955f7ed2 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 20 Aug 2002 02:22:29 +0000 Subject: removed StringUtil dep --- src/Font.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Font.cc b/src/Font.cc index 5f70f29..22fd192 100644 --- a/src/Font.cc +++ b/src/Font.cc @@ -19,11 +19,10 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Font.cc,v 1.7 2002/08/04 15:36:19 fluxgen Exp $ +//$Id: Font.cc,v 1.8 2002/08/20 02:22:29 fluxgen Exp $ #include "Font.hh" -#include "StringUtil.hh" #ifdef HAVE_CONFIG_H #include "../config.h" @@ -215,7 +214,7 @@ const char *Font::getFontElement(const char *pattern, char *buf, int bufsiz, ... buf[bufsiz-1] = 0; buf[bufsiz-2] = '*'; while((v = va_arg(va, char *)) != 0) { - p = StringUtil::strcasestr(pattern, v); + p = strcasestr(pattern, v); if (p) { std::strncpy(buf, p+1, bufsiz-2); p2 = strchr(buf, '-'); -- cgit v0.11.2