Fix for 64bit environment
This commit is contained in:
@@ -1157,7 +1157,7 @@ class PetitComputer
|
|||||||
int oldCSRX = this.console.CSRX;
|
int oldCSRX = this.console.CSRX;
|
||||||
int oldCSRY = this.console.CSRY;
|
int oldCSRY = this.console.CSRY;
|
||||||
int pos;
|
int pos;
|
||||||
int historyIndex = inputHistory.length;
|
int historyIndex = cast(int)inputHistory.length;
|
||||||
void setText(wstring text)
|
void setText(wstring text)
|
||||||
{
|
{
|
||||||
console.CSRX = oldCSRX;
|
console.CSRX = oldCSRX;
|
||||||
@@ -1167,7 +1167,7 @@ class PetitComputer
|
|||||||
console.print(" ");
|
console.print(" ");
|
||||||
}
|
}
|
||||||
buffer = text;
|
buffer = text;
|
||||||
pos = text.length;
|
pos = cast(int)text.length;
|
||||||
console.CSRX = oldCSRX;
|
console.CSRX = oldCSRX;
|
||||||
console.CSRY = oldCSRY;
|
console.CSRY = oldCSRY;
|
||||||
console.print(text);
|
console.print(text);
|
||||||
|
|||||||
Reference in New Issue
Block a user