mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-06 08:35:38 +00:00
fix(portability): replace POSIX-only string funcs and legacy hostent fields
This commit is contained in:
1 parent
4ad5df0370
commit
4008d94571
7 files changed
+20
-14
No files matched your search
+1
-1
@@ -1184,7 +1184,7 @@ key_action_page_switch (GtkWidget * wid, GdkEventKey * evt, char *d1,
|
||||
if (!len)
|
||||
return 1;
|
||||
|
||||
if (strcasecmp(d1, "auto") == 0)
|
||||
if (g_ascii_strcasecmp(d1, "auto") == 0)
|
||||
{
|
||||
/* Auto switch makes no sense in detached sessions */
|
||||
if (!sess->gui->is_tab)
|
||||
|
||||
Reference in new issue
Block a user