ports/editors/mousepad/files/patch-mousepad_mousepad-settings.c
Olivier Duchateau 4737f94818 - Add patches in order to fix warnings, when color scheme is not defined
- Bump PORTREVISION

PR:		199181
Reported by:	<admin@vladiom.com.ua>
Obtained from:	Xfce upstream repository
2015-07-11 06:02:20 +00:00

11 lines
338 B
C

--- mousepad/mousepad-settings.c.orig 2014-09-01 20:50:07 UTC
+++ mousepad/mousepad-settings.c
@@ -298,7 +298,7 @@ void
mousepad_setting_set_string (const gchar *path,
const gchar *value)
{
- mousepad_setting_set (path, "s", value);
+ mousepad_setting_set (path, "s", value != NULL ? value : "");
}