Strange thing in inkscape.cpp (?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There's something in inkscape.cpp which I'm not sure is
a bug or not. Take a
look at the 2 code pieces below. There are 2 parameters
(%s) in the "e_mkdir"
argument string of the "inkscape_
(second code piece), but
only 1 value (dn) is specified when using this string
in the
"gtk_message_
----------
static void
inkscape_
*config_name, const gchar *skeleton, unsigned int
skel_size,
const gchar *e_mkdir, const gchar
*e_notdir, const gchar *e_ccf, const gchar *e_cwf)
{
gchar * dn, *fn;
FILE *fh;
GtkWidget * w;
dn = profile_path(NULL);
if (!g_file_test(dn, G_FILE_
if (mkdir (dn, S_IRWXU | S_IRGRP | S_IXGRP))
{
/* Cannot create directory */
w = gtk_message_
GTK_DIALOG_MODAL, GTK_MESSAGE_
e_mkdir, dn);
----------
----------
inkscape_
PREFERENCES_FILE, preferences_
PREFERENCES_
----------
You're right. I fixed that, and rewrote that part to remove
redundancy in error messages.