Skip to content

Commit 61a75b6

Browse files
committed
skins: No longer accept uppercase '[Lines]' section
We are breaking skin compatibility anyway, so there's no point carrying it. Signed-off-by: Egmont Koblinger <egmont@gmail.com>
1 parent 7401394 commit 61a75b6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/skin/lines.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ skin_get_char (mc_skin_t *mc_skin, const char *name, gunichar def, mc_tty_char_t
9292
char *value_utf8;
9393

9494
value_utf8 = mc_config_get_string_raw (mc_skin->config, "lines", name, NULL);
95-
if (value_utf8 == NULL)
96-
{
97-
// it was called "Lines" (uppercase L) in mc <= 4.8.33, accept that for compatibility
98-
value_utf8 = mc_config_get_string_raw (mc_skin->config, "Lines", name, NULL);
99-
}
10095
if (value_utf8 != NULL)
10196
{
10297
c = g_utf8_get_char_validated (value_utf8, -1);

0 commit comments

Comments
 (0)