Преглед изворни кода

* Patch from Ido <[email protected]> to fix AsString for booleanfield

git-svn-id: trunk@5312 -
michael пре 19 година
родитељ
комит
ed9a52a07a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fcl/db/db.pp

+ 1 - 1
fcl/db/db.pp

@@ -30,7 +30,7 @@ const
 
 
   // Used in AsBoolean for string fields to determine
   // Used in AsBoolean for string fields to determine
   // whether it's true or false.
   // whether it's true or false.
-  YesNoChars : Array[Boolean] of char = ('Y','N');
+  YesNoChars : Array[Boolean] of char = ('N', 'Y');
 
 
   SQLDelimiterCharacters = [';',',',' ','(',')',#13,#10,#9];
   SQLDelimiterCharacters = [';',',',' ','(',')',#13,#10,#9];