Project

General

Profile

Actions

Bug #5561

closed

$readini(), $ini() should ignore empty entries

Added by westor (GR) 4 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
04/30/2022
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

When i having the following INI format example then $readini() and $ini() identifiers miss-behaving.

Examples :

$ini(file.ini,Options,0) returns 1 as it should be 10
$readini(file.ini,n,Options,Show_Avatar_On_Nicklist) returns $null as it should return the value that is 1

INI File :

[Options]
Images_Formats=png jpg jpeg ico gif tiff

; Status Window Active Window Hidden
Users_Set_Information_Location=Status Window

; Status Window Active Window Hidden
Users_UnSet_Information_Location=Status Window

Auto_Send_Sub_Avatars_When_Supported=1
Show_Avatar_On_Nicklist=1
Show_Avatar_On_Messages=1
Show_Avatar_On_Statusbar=1
Show_Avatar_On_Windows_Bars=1

; Maybe?
; /ignore supports to ignore inlineimages (-Iu1)
Ignore_Inlineimage_On_Set=0
Ignore_Inlineimage_On_Sub=0

- Thanks!

Actions

Also available in: Atom PDF