Browse Source

* Fix wrong raise statement. Fixes issue #40889

Michaël Van Canneyt 1 year ago
parent
commit
43660084b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/unicode/eawparser.lpr

+ 1 - 1
utils/unicode/eawparser.lpr

@@ -67,7 +67,7 @@ begin
     'W':
       Result := eawW;
     else
-      raise EArgumentException('Unknown east asian width: ''' + S + '''');
+      raise EArgumentException.Create('Unknown east asian width: ''' + S + '''');
   end;
 end;