diff --git a/src/sbbs3/getstr.cpp b/src/sbbs3/getstr.cpp index afc43a10c297206064da93df6715c9b8f65fcd60..0e93fdbca718a96b2cb03478f542d30e65853a28 100644 --- a/src/sbbs3/getstr.cpp +++ b/src/sbbs3/getstr.cpp @@ -516,12 +516,13 @@ size_t sbbs_t::getstr(char *strout, size_t maxlen, long mode) return(x); } if(i<maxlen && ch>=' ') { - if(mode&K_UPRLWR) + if(mode&K_UPRLWR) { if(!i || (i && (str1[i-1]==' ' || str1[i-1]=='-' || str1[i-1]=='.' || str1[i-1]=='_'))) ch=toupper(ch); else ch=tolower(ch); + } if(console&CON_INSERT && i!=l) { if(l<maxlen) /* l<maxlen */ l++;