summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-10-18 11:10:40 +0100
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-10-18 11:10:40 +0100
commit800e4dd37fad3fced7bf56661cc75dd17ed1f48b (patch)
treebc518fe16b77d97d52c01666163388ede5a70ea9 /src
parent8708faa58508f3e1daa1f4e749844f8c2640a2c0 (diff)
downloadfpGUI-800e4dd37fad3fced7bf56661cc75dd17ed1f48b.tar.xz
pdf report "Producer" property now shows fpGUI name and version number.
Diffstat (limited to 'src')
-rw-r--r--src/reportengine/u_pdf.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reportengine/u_pdf.pas b/src/reportengine/u_pdf.pas
index 12e3527c..8b3508e2 100644
--- a/src/reportengine/u_pdf.pas
+++ b/src/reportengine/u_pdf.pas
@@ -1178,7 +1178,7 @@ begin
Nom := TPdfString.CreateString(ApplicationName);
Info.FObjet.AddElement('Creator', Nom);
// add producer element to info dictionary
- Nom := TPdfString.CreateString('fpGUI/FPC');
+ Nom := TPdfString.CreateString(fpGUIName + ' ' + FPGUI_VERSION);
Info.FObjet.AddElement('Producer', Nom);
// add creationdate element to info dictionary
Nom := TPdfString.CreateString(DateToPdfDate(Now));