mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-06 08:35:38 +00:00
utf8-everywhere: Fixed some remaining C file I/O API calls to use the glib API.
This commit is contained in:
1 parent
49d5234b39
commit
ed26917691
3 files changed
+8
-10
No files matched your search
+1
-1
@@ -1258,7 +1258,7 @@ savebuffer_req_done (session *sess, char *file)
|
||||
if (!file)
|
||||
return;
|
||||
|
||||
fh = open (file, O_TRUNC | O_WRONLY | O_CREAT, 0600);
|
||||
fh = g_open (file, O_TRUNC | O_WRONLY | O_CREAT, 0600);
|
||||
if (fh != -1)
|
||||
{
|
||||
gtk_xtext_save (GTK_XTEXT (sess->gui->xtext), fh);
|
||||
|
||||
Reference in new issue
Block a user