Search dialog: Using a non-fixed editor font does not crash anymore.

[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Using a non-fixed editor font does not crash anymore.
This commit is contained in:
gambas 2021-12-17 13:48:00 +01:00
parent 1238ce91fc
commit 56b33c1461

View file

@ -105,7 +105,7 @@ Public Sub ReadConfig()
Dec $hFont.Size
If $hFont.Size < 6 Then Break
Wend
$CW = Paint._EstimateFixedFontCharWidth($hFont)
$CW = Paint._EstimateFontCharWidth($hFont)
For I = 0 To $aResult.Max
$aResult[I].RichText = ""