From 346e26e0785595f2af4385ab966c243d285d618c Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Tue, 13 Mar 2012 18:58:33 +0200 Subject: agg: minor compiler fix for AggPas Linux support --- src/corelib/render/software/platform/linux/agg_platform_support.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/render/software/platform/linux/agg_platform_support.pas b/src/corelib/render/software/platform/linux/agg_platform_support.pas index abe8ef2a..e963ebc0 100644 --- a/src/corelib/render/software/platform/linux/agg_platform_support.pas +++ b/src/corelib/render/software/platform/linux/agg_platform_support.pas @@ -2400,7 +2400,7 @@ begin x_tp.value :=PCUChar(@capt[1 ] ); x_tp.encoding:=XA_WM_NAME; x_tp.format :=8; - x_tp.nitems :=strlen(capt ); + x_tp.nitems := Length(capt); XSetWMName (x_display ,x_window ,@x_tp ); XStoreName (x_display ,x_window ,capt ); -- cgit v1.2.3-70-g09d2