aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--js/RrdGfxPdf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/RrdGfxPdf.js b/js/RrdGfxPdf.js
index 230d441..cbc552f 100644
--- a/js/RrdGfxPdf.js
+++ b/js/RrdGfxPdf.js
@@ -776,7 +776,7 @@ RrdGfxPdf.prototype._beginpage = function(orientation, size)
776 this.FontFamily = ''; 776 this.FontFamily = '';
777 // Check page size and orientation 777 // Check page size and orientation
778 if(orientation=='') orientation = this.DefOrientation; 778 if(orientation=='') orientation = this.DefOrientation;
779 else orientation = strtoupper(orientation[0]); 779 else orientation = orientation[0].toUpperCase();
780 780
781 if(size=='') size = this.DefPageSize; 781 if(size=='') size = this.DefPageSize;
782 else size = this._getpagesize(size); 782 else size = this._getpagesize(size);