summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-08-16 17:18:04 +0100
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-08-16 17:18:04 +0100
commit9d330c022369a6761d2d51f336eb1d740e90cb2c (patch)
treed1dcbc99eb22debea7603e219bd62ab1ab7fea4a /src
parentf2c283c58b718f14ac50b51faf5beb86a35d767b (diff)
downloadfpGUI-9d330c022369a6761d2d51f336eb1d740e90cb2c.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/fpg_base.pas4
1 files changed, 2 insertions, 2 deletions
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;