Small code simplifying
This commit is contained in:
parent
996d97f7b7
commit
27aefddd82
@ -1839,7 +1839,9 @@ char* XlatStr(char* dest, const char* src, int level, Chs* chrtbl, int qpencoded
|
||||
|
||||
case SOFTCR:
|
||||
translated = false;
|
||||
if (CompTable and not WideDispsoftcr)
|
||||
if (WideDispsoftcr)
|
||||
goto defaultchardo;
|
||||
else if (CompTable)
|
||||
{
|
||||
if(sptr > src) {
|
||||
if(not (isspace(*(sptr-1)) or isspace(*(sptr+1)))) {
|
||||
@ -1867,8 +1869,6 @@ char* XlatStr(char* dest, const char* src, int level, Chs* chrtbl, int qpencoded
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (WideDispsoftcr)
|
||||
goto defaultchardo;
|
||||
if(not translated)
|
||||
*dptr++ = *sptr++;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user