lxterminal: add patch, thanks wiz
This commit is contained in:
parent
acfa4d24a5
commit
b35891fe3a
1 changed files with 15 additions and 0 deletions
15
lxterminal/patches/patch-src_setting.c
Normal file
15
lxterminal/patches/patch-src_setting.c
Normal 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);
|
Loading…
Reference in a new issue