mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(mc_skin_lines_load_frm): cleanup, fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
9d89f2f20d
commit
97eb8faab0
@ -44,47 +44,12 @@ static int
|
||||
mc_skin_lines_load_frm (mc_skin_t * mc_skin, const char *name)
|
||||
{
|
||||
int ret;
|
||||
char *frm_val = NULL;
|
||||
char *frm_val;
|
||||
|
||||
frm_val = mc_config_get_string_raw (mc_skin->config, "Lines", name, " ");
|
||||
ret = mc_tty_normalize_lines_char (frm_val);
|
||||
|
||||
g_free (frm_val);
|
||||
|
||||
#if 0
|
||||
switch (ret)
|
||||
{
|
||||
case 0x80:
|
||||
ret = ACS_HLINE;
|
||||
break;
|
||||
case 0x81:
|
||||
ret = ACS_VLINE;
|
||||
break;
|
||||
case 0x82:
|
||||
ret = ACS_ULCORNER;
|
||||
break;
|
||||
case 0x83:
|
||||
ret = ACS_URCORNER;
|
||||
break;
|
||||
case 0x84:
|
||||
ret = ACS_LLCORNER;
|
||||
break;
|
||||
case 0x85:
|
||||
ret = ACS_LRCORNER;
|
||||
break;
|
||||
case 0x86:
|
||||
ret = ACS_LTEE;
|
||||
break;
|
||||
case 0x87:
|
||||
ret = ACS_RTEE;
|
||||
break;
|
||||
case 0x8a:
|
||||
ret = ACS_PLUS;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user