mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Clean up some warnings
This commit is contained in:
parent
9e5723359a
commit
d4fe523d73
2 changed files with 11 additions and 11 deletions
|
|
@ -908,7 +908,7 @@ public abstract class Window
|
||||||
private void DrawErrorMessage()
|
private void DrawErrorMessage()
|
||||||
{
|
{
|
||||||
// TODO: Once window systems are services, offer to reload the plugin
|
// TODO: Once window systems are services, offer to reload the plugin
|
||||||
ImGui.TextColoredWrapped(ImGuiColors.DalamudRed,Loc.Localize("WindowSystemErrorOccurred", "An error occurred while rendering this window. Please contact the developer for details."));
|
ImGui.TextColoredWrapped(ImGuiColors.DalamudRed, Loc.Localize("WindowSystemErrorOccurred", "An error occurred while rendering this window. Please contact the developer for details."));
|
||||||
|
|
||||||
ImGuiHelpers.ScaledDummy(5);
|
ImGuiHelpers.ScaledDummy(5);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -158,16 +158,6 @@ public static partial class Util
|
||||||
return branchInternal = gitBranch;
|
return branchInternal = gitBranch;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets the active Dalamud track, if this instance was launched through XIVLauncher and used a version
|
|
||||||
/// downloaded from webservices.
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>The name of the track, or null.</returns>
|
|
||||||
internal static string? GetActiveTrack()
|
|
||||||
{
|
|
||||||
return Environment.GetEnvironmentVariable("DALAMUD_BRANCH");
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc cref="DescribeAddress(nint)"/>
|
/// <inheritdoc cref="DescribeAddress(nint)"/>
|
||||||
public static unsafe string DescribeAddress(void* p) => DescribeAddress((nint)p);
|
public static unsafe string DescribeAddress(void* p) => DescribeAddress((nint)p);
|
||||||
|
|
||||||
|
|
@ -703,6 +693,16 @@ public static partial class Util
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the active Dalamud track, if this instance was launched through XIVLauncher and used a version
|
||||||
|
/// downloaded from webservices.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>The name of the track, or null.</returns>
|
||||||
|
internal static string? GetActiveTrack()
|
||||||
|
{
|
||||||
|
return Environment.GetEnvironmentVariable("DALAMUD_BRANCH");
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a random, inoffensive, human-friendly string.
|
/// Gets a random, inoffensive, human-friendly string.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue