lxterminal: add patch, thanks wiz

This commit is contained in:
youri 2016-04-06 10:02:06 +02:00
parent acfa4d24a5
commit b35891fe3a

View file

@ -0,0 +1,15 @@
$NetBSD$
Fix glib function
--- src/setting.c.orig 2014-10-21 15:29:18.000000000 +0000
+++ src/setting.c
@@ -162,7 +162,7 @@ void save_setting()
/* Deep copy settings. */
Setting * copy_setting(Setting * setting)
{
- g_return_if_fail (setting != NULL);
+ g_return_val_if_fail (setting != NULL, NULL);
/* Allocate structure. */
Setting * new_setting = g_slice_new0(Setting);