comparison console/libgnt/gntmain.c @ 14216:e9dd2f76e61b

[gaim-migrate @ 16897] A couple more keybindings. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 20 Aug 2006 07:11:09 +0000
parents 2925098c9b95
children 1d793e808e5b
comparison
equal deleted inserted replaced
14215:e9304dd00992 14216:e9dd2f76e61b
679 (G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI | G_IO_NVAL), 679 (G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI | G_IO_NVAL),
680 io_invoke, NULL, NULL); 680 io_invoke, NULL, NULL);
681 681
682 locale = setlocale(LC_ALL, ""); 682 locale = setlocale(LC_ALL, "");
683 683
684 g_io_channel_unref(channel); 684 #if 0
685 g_io_channel_unref(channel); /* Apparently this causes crash for some people */
686 #endif
685 687
686 if (locale && (strstr(locale, "UTF") || strstr(locale, "utf"))) 688 if (locale && (strstr(locale, "UTF") || strstr(locale, "utf")))
687 ascii_only = FALSE; 689 ascii_only = FALSE;
688 else 690 else
689 ascii_only = TRUE; 691 ascii_only = TRUE;