GUI: fix text/binary command stream outs being swa
This commit is contained in:
parent
827904d46e
commit
a0968aed07
|
@ -3544,7 +3544,7 @@ bool FurnaceGUI::loop() {
|
||||||
if (i>='A' && i<='Z') i+='a'-'A';
|
if (i>='A' && i<='Z') i+='a'-'A';
|
||||||
}
|
}
|
||||||
bool isBinary=true;
|
bool isBinary=true;
|
||||||
if ((lowerCase.size()<4 || lowerCase.rfind(".txt")!=lowerCase.size()-4)) {
|
if ((lowerCase.size()<4 || lowerCase.rfind(".bin")!=lowerCase.size()-4)) {
|
||||||
isBinary=false;
|
isBinary=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue