Added a g_strdup() on DEFAULT_IMAGE_TITLE_FORMAT, otherwise it would try

1999-03-04  Tomas Ogren  <stric@ing.umu.se>

* app/gimprc.c: Added a g_strdup() on DEFAULT_IMAGE_TITLE_FORMAT,
otherwise it would try to free a constant string when cancling out of
prefs or changing the title-style.
This commit is contained in:
Tomas Ogren 1999-03-04 03:24:56 +00:00 committed by Tomas Ögren
parent 77f4d4abec
commit 7356625455
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
1999-03-04 Tomas Ogren <stric@ing.umu.se>
* app/gimprc.c: Added a g_strdup() on DEFAULT_IMAGE_TITLE_FORMAT,
otherwise it would try to free a constant string when cancling out of
prefs or changing the title-style.
Wed Mar 3 18:38:31 MET 1999 Sven Neumann <sven@gimp.org>
More unit/resolution stuff (most of it from Michael).

View File

@ -380,7 +380,7 @@ parse_gimprc ()
}
if (!image_title_format)
image_title_format = DEFAULT_IMAGE_TITLE_FORMAT;
image_title_format = g_strdup(DEFAULT_IMAGE_TITLE_FORMAT);
}
void