From 9d330c022369a6761d2d51f336eb1d740e90cb2c Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 16 Aug 2012 17:18:04 +0100 Subject: Make sure TfpgString is based on AnsiString. With the FPC 2.7.1 having some form of Unicode support, and the String typing being redefined... defining TfpgString as AnsiString, we know fpGUI will continue running as normal. --- src/corelib/fpg_base.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/corelib/fpg_base.pas b/src/corelib/fpg_base.pas index 0da8cce8..3c9e69d9 100644 --- a/src/corelib/fpg_base.pas +++ b/src/corelib/fpg_base.pas @@ -34,8 +34,8 @@ uses type TfpgCoord = integer; // we might use floating point coordinates in the future... TfpgColor = type longword; // Always in AARRGGBB (Alpha, Red, Green, Blue) format!! - TfpgString = type string; - TfpgChar = type string[4]; + TfpgString = type AnsiString; + TfpgChar = type String[4]; PPoint = ^TPoint; -- cgit v1.2.3-70-g09d2