Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

91 lines (90 sloc) 2.152 kb
/* Generated by genconfig */
else if(strcmp(cmd, "no-mcc")==0)
mirc_colour_compat=false;
else if(strcmp(cmd, "mcc")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
mirc_colour_compat=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for mcc (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "no-fred")==0)
force_redraw=false;
else if(strcmp(cmd, "fred")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
force_redraw=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for fred (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "buf")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
buflines=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for buf (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "mnln")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
maxnlen=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for mnln (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "no-fwc")==0)
full_width_colour=false;
else if(strcmp(cmd, "fwc")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
full_width_colour=value;
else
full_width_colour=true;
}
else if(strcmp(cmd, "no-hts")==0)
hilite_tabstrip=false;
else if(strcmp(cmd, "hts")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
hilite_tabstrip=value;
else
hilite_tabstrip=true;
}
else if(strcmp(cmd, "no-tsb")==0)
tsb=false;
else if(strcmp(cmd, "tsb")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
tsb=value;
else
tsb=true;
}
else if(strcmp(cmd, "tping")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
tping=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for tping (value not numeric)");
asb_failsafe(c_err, rest);
}
}
Jump to Line
Something went wrong with that request. Please try again.