summaryrefslogtreecommitdiff
path: root/src/corelib/render/software/Agg2D.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/render/software/Agg2D.pas')
-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