GUI: fix .cfgc/.cfgk extension duplication
This commit is contained in:
parent
3932a82d14
commit
979cb63c5b
|
@ -1842,7 +1842,7 @@ void FurnaceGUI::processDrags(int dragX, int dragY) {
|
|||
for (char& i: lowerCase) { \
|
||||
if (i>='A' && i<='Z') i+='a'-'A'; \
|
||||
} \
|
||||
if (lowerCase.size()<4 || lowerCase.rfind(x)!=lowerCase.size()-4) { \
|
||||
if (lowerCase.size()<strlen(x) || lowerCase.rfind(x)!=lowerCase.size()-strlen(x)) { \
|
||||
fileName+=x; \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue