rv_ignore fixup

This commit is contained in:
Zeno Rogue 2021-06-25 14:03:11 +02:00
parent 9d2faeef51
commit 5e09993eca
2 changed files with 3 additions and 1 deletions

View File

@ -848,7 +848,7 @@ void readcolor(const string& cfname) {
string lab2 = "";
while(true) {
int c = fgetc(f);
if(rv_ignore(ch) || c == ',' || c == ';' || c == EOF) break;
if(rv_ignore(c) || c == ',' || c == ';' || c == EOF) break;
else lab2 += c;
}
x = vdata[getid(lab2)].cp;

View File

@ -243,6 +243,8 @@ function<void(presmode)> roguevizslide_action(char c, const T& t, const U& act)
int getnewid(string s);
extern string fname;
bool rv_ignore(char c);
colorpair perturb(colorpair cp);
void queuedisk(const shiftmatrix& V, const colorpair& cp, bool legend, const string* info, int i);