mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Optimization
This commit is contained in:
parent
4c2d4ed67f
commit
fc3e6c40ec
2 changed files with 4 additions and 8 deletions
|
|
@ -219,14 +219,12 @@ static int data_handler(void *user, const char *section, const char *name,
|
|||
// Ignore
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!strcmp(value, "none"))
|
||||
else if (!strcmp(value, "none"))
|
||||
{
|
||||
option.color = -1; // No color
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!strcmp(value, "bold"))
|
||||
else if (!strcmp(value, "bold"))
|
||||
{
|
||||
option.color = 256; // Bold
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue