From 486aa07930e7b6e900f77e64726c8cc4110511d8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 4 Feb 2025 17:59:57 +0900 Subject: Extend work on supporting surrogate characters done in commit e0a38072 Signed-off-by: Michele Calgaro --- src/kernel/tqfontmetrics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/tqfontmetrics.h') diff --git a/src/kernel/tqfontmetrics.h b/src/kernel/tqfontmetrics.h index b635a864e..35d09f5e8 100644 --- a/src/kernel/tqfontmetrics.h +++ b/src/kernel/tqfontmetrics.h @@ -79,7 +79,7 @@ public: int width( char c ) const { return width( (TQChar) c ); } #endif - int charWidth( const TQString &str, int pos ) const; + int charWidth( const TQString &str, int pos ) const; TQRect boundingRect( const TQString &, int len = -1 ) const; TQRect boundingRect( TQChar ) const; TQRect boundingRect( int x, int y, int w, int h, int flags, -- cgit v1.2.1