mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Use g_ascii_str{,n}casecmp for case insensitive comparison with
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
496d82ac48
commit
7df46597e1
22 changed files with 63 additions and 63 deletions
|
|
@ -1144,7 +1144,7 @@ static void theme_save(THEME_REC *theme, int save_all)
|
|||
if (config != NULL)
|
||||
config_parse(config);
|
||||
else {
|
||||
if (g_strcasecmp(theme->name, "default") == 0) {
|
||||
if (g_ascii_strcasecmp(theme->name, "default") == 0) {
|
||||
config = config_open(NULL, -1);
|
||||
config_parse_data(config, default_theme, "internal");
|
||||
config_change_file_name(config, theme->path, 0660);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue