[gimp/gimpmetadata-new-wip] plug-ins: fix file creation attribute.
- From: Hartmut Kuhse <hartmutkuhse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimpmetadata-new-wip] plug-ins: fix file creation attribute.
- Date: Thu, 5 Jan 2017 20:16:13 +0000 (UTC)
commit eb644fc782bd93d550c3cff98c71a41d18cec486
Author: Hartmut Kuhse <hk_priv gmx de>
Date: Thu Jan 5 21:15:41 2017 +0100
plug-ins: fix file creation attribute.
plug-ins/common/attributes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/attributes.c b/plug-ins/common/attributes.c
index f3ff915..fc707af 100644
--- a/plug-ins/common/attributes.c
+++ b/plug-ins/common/attributes.c
@@ -890,7 +890,7 @@ attributes_export_dialog_response (GtkWidget *dlg,
buffer = g_string_new (xmp_data);
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dlg));
- fd = g_open (filename, O_CREAT | O_TRUNC | O_WRONLY | _O_BINARY, 0666);
+ fd = g_open (filename, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0666);
if (fd < 0)
{
attributes_message_dialog (GTK_MESSAGE_ERROR, GTK_WINDOW (dlg),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]