1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 05:01:29 +00:00

Update calls to gtk.TextBuffer.get_text to include all args. Fixes #2739. Closes #2740.

This commit is contained in:
dmiller
2024-01-29 18:31:37 +00:00
parent 034ea73ce3
commit d4ee92478e
6 changed files with 14 additions and 6 deletions

View File

@@ -780,7 +780,8 @@ class ScanInterface(HIGVBox):
entry."""
buff = widget.get_buffer()
comment = buff.get_text(
buff.get_start_iter(), buff.get_end_iter())
buff.get_start_iter(), buff.get_end_iter(),
include_hidden_chars=True)
if host.comment == comment:
# no change, ignore
return