Commit 17cd9400 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fixed broken usage of g_strconcat() that caused a crash (bug #114564).

2003-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c (gfig_save_callbk): fixed broken usage of
	g_strconcat() that caused a crash (bug #114564).
parent ef30cf31
2003-06-06 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig.c (gfig_save_callbk): fixed broken usage of
g_strconcat() that caused a crash (bug #114564).
2003-06-06 Michael Natterer <mitch@gimp.org>
* app/gui/image-menu.c
......@@ -50,6 +50,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
......@@ -1351,10 +1352,8 @@ gfig_save_callbk (void)
if (!fp)
{
message = g_strconcat (_("Error opening: %s"),
"\n",
_("Could not save."),
savename);
message = g_strdup_printf (_("Error opening file '%s':\n%s"),
savename, g_strerror (errno));
g_message (message);
g_free (message);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment