mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
fix: some minor IDE complaints
This commit is contained in:
parent
963b3d9318
commit
fe163fbb97
4 changed files with 6 additions and 7 deletions
|
|
@ -114,7 +114,7 @@ internal sealed unsafe class DalamudCompletion : IInternalDisposableService
|
|||
this.ResetCompletionData();
|
||||
this.ClearCachedCommands();
|
||||
|
||||
var currentText = component->UnkText1.StringPtr.ExtractText();
|
||||
var currentText = component->EvaluatedString.StringPtr.ExtractText();
|
||||
|
||||
var commands = this.commandManager.Commands
|
||||
.Where(kv => kv.Value.ShowInHelp && (currentText.Length == 0 || kv.Key.StartsWith(currentText)))
|
||||
|
|
@ -195,7 +195,7 @@ internal sealed unsafe class DalamudCompletion : IInternalDisposableService
|
|||
|
||||
component = (AtkComponentTextInput*)componentBase;
|
||||
|
||||
addon = component->ContainingAddon;
|
||||
addon = component->OwnerAddon;
|
||||
|
||||
if (addon == null)
|
||||
addon = component->ContainingAddon2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue