diff options
-rw-r--r-- | src/DDTable.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DDTable.cs b/src/DDTable.cs index 95cf15e..c2ffcd1 100644 --- a/src/DDTable.cs +++ b/src/DDTable.cs @@ -67,7 +67,7 @@ namespace BCDD {
BCalcWrapper.bcalcDDS_setPlayerOnLeadAndReset(solver, BCalcWrapper.bcalc_declarerToLeader(player));
result[player, denom] = 13 - BCalcWrapper.bcalcDDS_getTricksToTake(solver);
- String error = Marshal.PtrToStringAuto(BCalcWrapper.bcalcDDS_getLastError(solver));
+ String error = Marshal.PtrToStringAnsi(BCalcWrapper.bcalcDDS_getLastError(solver));
if (error != null)
{
throw new DDTableInvalidException("BCalc error: " + error);
|