Bug 694417 - GIMP Segmentation Faults (Segfault, Crash) after Changing Color...
Don't pass a NULL pointer to gimp_text_buffer_get_font_tag() because it is dereferenced in a call to strcmp(). gimp_context_get_font_name() returns NULL when the selected text includes spans with different fonts. Add the same special handling for spans with inconsistent sizes too, and add comments that we should have the same for the color. Original patch from Massimo Valentini. (cherry picked from commit 804313bb)
Showing with 32 additions and 18 deletions