version 1.286, 2020/05/16 16:03:30 |
version 1.287, 2020/05/16 16:03:57 |
|
|
len += gd->sx; |
len += gd->sx; |
} |
} |
|
|
if (regexec(reg, buf, 1, ®match, eflags) == 0) { |
if (regexec(reg, buf, 1, ®match, eflags) == 0 && |
|
regmatch.rm_so != regmatch.rm_eo) { |
foundx = first; |
foundx = first; |
foundy = py; |
foundy = py; |
window_copy_cstrtocellpos(gd, len, &foundx, &foundy, |
window_copy_cstrtocellpos(gd, len, &foundx, &foundy, |
|
|
foundy = py; |
foundy = py; |
oldx = first; |
oldx = first; |
while (regexec(preg, buf + px, 1, ®match, eflags) == 0) { |
while (regexec(preg, buf + px, 1, ®match, eflags) == 0) { |
|
if (regmatch.rm_so == regmatch.rm_eo) |
|
break; |
window_copy_cstrtocellpos(gd, len, &foundx, &foundy, |
window_copy_cstrtocellpos(gd, len, &foundx, &foundy, |
buf + px + regmatch.rm_so); |
buf + px + regmatch.rm_so); |
if (foundy > py || foundx >= last) |
if (foundy > py || foundx >= last) |