__ini_value: fix explorer detect value as commented
Because the value was not reseted on a fase positive.
This commit is contained in:
parent
ea7ac72f9a
commit
9006994023
1 changed files with 1 additions and 1 deletions
|
@ -80,6 +80,7 @@ found_section {
|
|||
|
||||
# index 1 cause of trimmed string
|
||||
if((idel = index(line, delimiter)) && (ikey = index(line, key))) {
|
||||
is_com=0
|
||||
if(ikey > 1) {
|
||||
# maybe comment character or only spaces
|
||||
start_string = substr(line, 1, ikey - 1)
|
||||
|
@ -90,7 +91,6 @@ found_section {
|
|||
# only one free-standing char or directly before the key
|
||||
if(RLENGTH == 1 || icom == ikey - 1) {
|
||||
start_sign = substr(line, RSTART, 1)
|
||||
is_com=0
|
||||
for(i in comment_signs) {
|
||||
if(start_sign == comment_signs[i]) {
|
||||
is_com = 1; break;
|
||||
|
|
Loading…
Reference in a new issue