Skip to content

Commit

Permalink
Merge branch 'development' into MUSHclient
Browse files Browse the repository at this point in the history
  • Loading branch information
fiendish committed Apr 10, 2018
2 parents e376d1a + 05a65fe commit 4802060
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions MUSHclient/AardwolfPackageChanges.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Aardwolf Client Package Major Changes List

r1990 snapshot
- bug fix: Fix a string/int comparison bug in the communication log's findTab function. Thanks Crowley.

r1989 snapshot
- bug fix: In haste, it seems I accidentally undid message content preserving in the comm log across theme changes. Should be fixed.

Expand Down
4 changes: 2 additions & 2 deletions MUSHclient/worlds/plugins/aard_channels_fiendish.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,15 @@ end
function findTab(name)
-- prefer named tabs first
for i=1,num_tabs do
if tabs_names[i] and (tabs_names[i]:upper() == name:upper()) then
if tabs_names[i] and (tabs_names[i]:upper() == tostring(name):upper()) then
return i
end
end
-- but if the "name" is a number and there isn't a matching named tab,
-- pick that number tab.
for i=1,num_tabs do
if (tabs_names[i] == nil) and (tostring(i) == name) then
if (tabs_names[i] == nil) and (tostring(i) == tostring(name)) then
return i
end
end
Expand Down

0 comments on commit 4802060

Please sign in to comment.