summaryrefslogtreecommitdiffstats
path: root/karbon/core/vtext.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/core/vtext.cc')
-rw-r--r--karbon/core/vtext.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/karbon/core/vtext.cc b/karbon/core/vtext.cc
index 9f215b59..e73445ee 100644
--- a/karbon/core/vtext.cc
+++ b/karbon/core/vtext.cc
@@ -660,7 +660,7 @@ VText::buildRequest( TQString family, int weight, int slant, double size, int &i
{
// Strip those stupid [Xft or whatever]...
int pos;
- if( ( pos = family.tqfind( '[' ) ) )
+ if( ( pos = family.find( '[' ) ) )
family = family.left( pos );
// Use FontConfig to locate & select fonts and use FreeType2 to open them