GUI: fix text/binary command stream outs being swa

This commit is contained in:
tildearrow 2022-08-05 03:27:35 -05:00
parent 827904d46e
commit a0968aed07

View file

@ -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;
} }