Explorar o código

Fix placeholder in format constant

git-svn-id: trunk@46368 -
michael %!s(int64=5) %!d(string=hai) anos
pai
achega
9883dc703e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-base/src/fpexprpars.pp

+ 1 - 1
packages/fcl-base/src/fpexprpars.pp

@@ -896,7 +896,7 @@ Resourcestring
   SErrCaseLabelNotAConst = 'Case label %d "%s" is not a constant expression';
   SErrCaseLabelNotAConst = 'Case label %d "%s" is not a constant expression';
   SErrCaseLabelType = 'Case label %d "%s" needs type %s, but has type %s';
   SErrCaseLabelType = 'Case label %d "%s" needs type %s, but has type %s';
   SErrCaseValueType = 'Case value %d "%s" needs type %s, but has type %s';
   SErrCaseValueType = 'Case value %d "%s" needs type %s, but has type %s';
-  SErrDivisionByZero = '%d division by zero';
+  SErrDivisionByZero = '%s division by zero';
 
 
 { ---------------------------------------------------------------------
 { ---------------------------------------------------------------------
   Auxiliary functions
   Auxiliary functions