libunique: fix gcc7 build

This commit is contained in:
Jürgen Buchmüller 2017-05-20 19:30:03 +02:00
parent 057c3d71e6
commit cb0f33843b
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- unique/uniqueapp.c 2011-06-14 14:26:26.000000000 +0200
+++ unique/uniqueapp.c 2017-05-20 19:27:59.043332852 +0200
@@ -175,7 +175,7 @@
{
gchar *id;
- if (startup_id && startup_id != '\0')
+ if (startup_id && *startup_id != '\0')
id = g_strdup (startup_id);
else
{