libunique1: fix gcc7 build
This commit is contained in:
parent
1265dfb85f
commit
0114f6125e
|
@ -0,0 +1,11 @@
|
|||
--- libunique-1.1.6/unique/uniqueapp.c 2009-11-01 19:33:13.000000000 +0100
|
||||
+++ libunique-1.1.6/unique/uniqueapp.c 2017-06-15 17:30:10.775354836 +0200
|
||||
@@ -176,7 +176,7 @@
|
||||
{
|
||||
gchar *id;
|
||||
|
||||
- if (startup_id && startup_id != '\0')
|
||||
+ if (startup_id && *startup_id != '\0')
|
||||
id = g_strdup (startup_id);
|
||||
else
|
||||
{
|
Loading…
Reference in New Issue