Skip to content

Commit

Permalink
Typo corrections in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cwford committed May 22, 2020
1 parent e3934ff commit 2ced02e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion TDAmeritradeZorro/Classes/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ string usn
AccountBalance balance = Broker.Account(Broker.settings.TdaAccountNum);
if (balance == null)
{
// TODO: Translation
// Log the error
LogHelper.Log(LogLevel.Error, $"{Resx.GetString("FAILURE").ToUpper()}: {Resx.GetString("INVALID_TDA_ACCT_NUM")}.");
return false;
}
Expand Down
5 changes: 2 additions & 3 deletions TDAmeritradeZorro/TDAmerAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,11 @@ StringBuilder accounts
// Call the broker login method
isConnected = Broker.Login();

// Valid TD Ameritrade Account?
// Valid TD Ameritrade account?
AccountBalance balance = Broker.Account(Broker.settings.TdaAccountNum);
if (balance == null)
{
// TODO: Translation
// TODO: Log the error
BrokerError($"{Resx.GetString("FAILURE").ToUpper()}: {Resx.GetString("INVALID_TDA_ACCT_NUM")}.");
return 0;
}
Expand Down Expand Up @@ -841,7 +840,7 @@ IntPtr data
// NOTE: The layout of managed and unmanaged arrays isn't the same.
// Zorro passes a pointer to a T6 array, and we need to use an
// unmanaged pointer to get the original C++ T6 array pointer. We
// will loda a T6 array of structures at that address.
// will load a T6 array of structures at that address.
//
//*****************************************************************
unsafe
Expand Down

0 comments on commit 2ced02e

Please sign in to comment.