diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-12 19:40:55 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-12 19:40:55 +0200 |
commit | cdae6655edf4a116f6cd688cff71409f7d66ee40 (patch) | |
tree | bb924b5ad58de3f10762440d9e43843b96fe8fcd /src/corelib/render/software | |
parent | 0c81d98bef31f6a9e96f7af8c3e9e3db7173487d (diff) | |
download | fpGUI-cdae6655edf4a116f6cd688cff71409f7d66ee40.tar.xz |
agg: prevent compiler warning by setting the return value.
Diffstat (limited to 'src/corelib/render/software')
-rw-r--r-- | src/corelib/render/software/Agg2D.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index be71dd13..3e648abe 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -2577,7 +2577,7 @@ end; function TAgg2D.TextWidth(str : AnsiString ) : double; {$IFDEF AGG2D_NO_FONT} begin - // do nothing + Result := 0; end; {$ELSE} var |