From be6b774886869aa4ac9f973461d72acfaec7c6c9 Mon Sep 17 00:00:00 2001 From: Maxim Ganetsky Date: Mon, 3 Oct 2022 02:17:26 +0300 Subject: [PATCH] IDEIntf: fixed typo in resource string name --- components/ideintf/objinspstrconsts.pas | 2 +- components/ideintf/propedits.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ideintf/objinspstrconsts.pas b/components/ideintf/objinspstrconsts.pas index 3292cf4ae8..277883ec1d 100644 --- a/components/ideintf/objinspstrconsts.pas +++ b/components/ideintf/objinspstrconsts.pas @@ -373,7 +373,7 @@ resourcestring oisStringsEditorDialog = 'Strings Editor Dialog'; ois0Lines0Chars = '0 lines, 0 chars'; oisInvalidPropertyValue = 'Invalid property value'; - oisInfiniteNotSupported = 'Setting a floating point property to positive or negative Infinity at design time is not supported'; + oisInfinityNotSupported = 'Setting a floating point property to positive or negative Infinity at design time is not supported'; oisNaNNotSupported = 'Setting a floating point property to NaN at design time is not supported'; oisNone = '(none)'; oisPressAKey = 'Press a key ...'; diff --git a/components/ideintf/propedits.pp b/components/ideintf/propedits.pp index 3340a52f69..d492923fca 100644 --- a/components/ideintf/propedits.pp +++ b/components/ideintf/propedits.pp @@ -3985,7 +3985,7 @@ begin //if this failed, assume the user entered DS from his current locale NewFloat := StrToFloat(NewValue, DefaultFormatSettings); if IsInfinite(NewFloat) then - raise EPropertyError.Create(oisInfiniteNotSupported); + raise EPropertyError.Create(oisInfinityNotSupported); if IsNan(NewFloat) then raise EPropertyError.Create(oisNaNNotSupported); SetFloatValue(NewFloat);