let's try to make sure it doesn't happen inside any strings! The
-cfg option for cursor foreground colour nearly had a nasty accident
there.
git-svn-id: svn://svn.tartarus.org/sgt/putty@2569
cda61777-01e9-0310-a592-
d414129be87e
} else if (!strcmp(p, "-fg") || !strcmp(p, "-bg") ||
!strcmp(p, "-bfg") || !strcmp(p, "-bbg") ||
} else if (!strcmp(p, "-fg") || !strcmp(p, "-bg") ||
!strcmp(p, "-bfg") || !strcmp(p, "-bbg") ||
- !strcmp(p, "-inst->cfg") || !strcmp(p, "-cbg")) {
+ !strcmp(p, "-cfg") || !strcmp(p, "-cbg")) {
GdkColor col;
EXPECTS_ARG;
GdkColor col;
EXPECTS_ARG;
!strcmp(p, "-bg") ? 2 :
!strcmp(p, "-bfg") ? 1 :
!strcmp(p, "-bbg") ? 3 :
!strcmp(p, "-bg") ? 2 :
!strcmp(p, "-bfg") ? 1 :
!strcmp(p, "-bbg") ? 3 :
- !strcmp(p, "-inst->cfg") ? 4 :
+ !strcmp(p, "-cfg") ? 4 :
!strcmp(p, "-cbg") ? 5 : -1);
assert(index != -1);
cfg->colours[index][0] = col.red / 256;
!strcmp(p, "-cbg") ? 5 : -1);
assert(index != -1);
cfg->colours[index][0] = col.red / 256;