summaryrefslogtreecommitdiff
path: root/src/corelib/render/software
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-12 19:40:55 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-12 19:40:55 +0200
commitcdae6655edf4a116f6cd688cff71409f7d66ee40 (patch)
treebb924b5ad58de3f10762440d9e43843b96fe8fcd /src/corelib/render/software
parent0c81d98bef31f6a9e96f7af8c3e9e3db7173487d (diff)
downloadfpGUI-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.pas2
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