Fixed a seg fault in an earlier commit.
2003-09-16 Dave Neary <bolsh@gimp.org> * app/config/gimpconfig-path.c: Fixed a seg fault in an earlier commit.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-09-16 Dave Neary <bolsh@gimp.org>
|
||||||
|
|
||||||
|
* app/config/gimpconfig-path.c: Fixed a seg fault in an earlier
|
||||||
|
commit.
|
||||||
|
|
||||||
2003-09-16 Michael Natterer <mitch@gimp.org>
|
2003-09-16 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/gui/brushes-menu.c
|
* app/gui/brushes-menu.c
|
||||||
|
@ -151,7 +151,15 @@ gimp_config_path_expand (const gchar *path,
|
|||||||
|
|
||||||
expanded = g_new (gchar, length + 1);
|
expanded = g_new (gchar, length + 1);
|
||||||
|
|
||||||
|
if (filename)
|
||||||
|
{
|
||||||
p = filename;
|
p = filename;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
p = path;
|
||||||
|
}
|
||||||
|
|
||||||
n = expanded;
|
n = expanded;
|
||||||
|
|
||||||
while (*p)
|
while (*p)
|
||||||
|
@ -151,7 +151,15 @@ gimp_config_path_expand (const gchar *path,
|
|||||||
|
|
||||||
expanded = g_new (gchar, length + 1);
|
expanded = g_new (gchar, length + 1);
|
||||||
|
|
||||||
|
if (filename)
|
||||||
|
{
|
||||||
p = filename;
|
p = filename;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
p = path;
|
||||||
|
}
|
||||||
|
|
||||||
n = expanded;
|
n = expanded;
|
||||||
|
|
||||||
while (*p)
|
while (*p)
|
||||||
|
Reference in New Issue
Block a user