diff options
author | Eric Wong <e@yhbt.net> | 2020-01-25 04:44:50 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-01-27 02:59:09 +0000 |
commit | 53046dfabf5cea98662dc2e2297947be793262ce (patch) | |
tree | e4eea3dd19fc2b8c3c9f3059916424e5b2888eae /lib/PublicInbox/SearchView.pm | |
parent | 1f771820fad8b783e6afc81b38e354e6cde0b3f9 (diff) | |
download | public-inbox-53046dfabf5cea98662dc2e2297947be793262ce.tar.gz |
This saves us a few comments and confusion. Yes, it's a destination so "dst" can be appropriate, but we may be using that term elsewhere.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index 0d2e71fd..584b88ed 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -277,7 +277,7 @@ sub mset_thread { $ctx->{-upfx} = ''; $ctx->{anchor_idx} = 1; $ctx->{cur_level} = 0; - $ctx->{dst} = \$skel; + $ctx->{skel} = \$skel; $ctx->{mapping} = {}; $ctx->{searchview} = 1; $ctx->{prev_attr} = ''; @@ -303,7 +303,7 @@ sub mset_thread_i { return PublicInbox::View::index_entry($smsg, $ctx, scalar @$msgs); } - my ($skel) = delete @$ctx{qw(dst msgs)}; + my ($skel) = delete @$ctx{qw(skel msgs)}; $$skel .= "\n</pre>"; } |