void-packages/srcpkgs/libunique/patches/gcc7-fix-char_ptr.patch

12 lines
292 B
Diff

--- a/unique/uniqueapp.c 2011-06-14 14:26:26.000000000 +0200
+++ b/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
{