Fixed overzealous type conversion of guchar

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
drewski207
2011-09-24 21:19:28 +00:00
parent 3580e4b530
commit f19af38356
2 changed files with 3 additions and 2 deletions

View File

@ -471,7 +471,7 @@ begin
NS := Self;
// some basic fixes
PlainCType:=StringReplace(StripPointers(ACType, @PointerLevel), ' ', '_', [rfReplaceAll]);
if (PlainCType = 'gchar') or (PlainCType = 'guchar') or (PlainCType = 'char') then
if (PlainCType = 'gchar') or {(PlainCType = 'guchar') or} (PlainCType = 'char') then
AName := 'GLib.utf8';
if (PlainCType = 'GType') {or (AName = 'Type')} or (AName = 'GType')then