1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

Fix bug with writing of configuration files under Cygwin

This commit is contained in:
Sebastien Helleu
2010-04-12 14:06:33 +02:00
parent ea5fa86793
commit 339e42df76
+1 -1
View File
@@ -1918,7 +1918,7 @@ config_file_write_internal (struct t_config_file *config_file,
(default_options) ? _("(default options)") : "");
/* open temp file in write mode */
config_file->file = fopen (filename2, "w");
config_file->file = fopen (filename2, "wb");
if (!config_file->file)
{
gui_chat_printf (NULL,