Skip to content

Commit

Permalink
*Actually* fix fc.FormatString
Browse files Browse the repository at this point in the history
It'd be nice to have custom formatters...
  • Loading branch information
MOARdV committed Feb 24, 2019
1 parent 9e7b784 commit 8317010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/MASFlightComputerProxy2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ public string FormatString(string format, object arg0)
string result = string.Empty;
try
{
result = string.Format(format, arg0);
result = string.Format(MdVTextMesh.formatter, format, arg0);
}
catch
{
Expand Down
2 changes: 1 addition & 1 deletion Source/MdVTextMesh.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace AvionicsSystems
/// </summary>
public class MdVTextMesh : MonoBehaviour
{
static private MASStringFormatter formatter = new MASStringFormatter();
static internal MASStringFormatter formatter = new MASStringFormatter();

private TextAlignment alignment_ = TextAlignment.Left;
public TextAlignment alignment
Expand Down

0 comments on commit 8317010

Please sign in to comment.