[wiki] [sites] [dwm][patch][layoutmenu] Fix -Waddress warning || 8dcc

From: <git_AT_suckless.org>
Date: Mon, 02 Jan 2023 14:57:54 +0100

commit dac425496aecab2114a65c3fbe975131c5cbaaf7
Author: 8dcc <8dcc.git_AT_gmail.com>
Date: Mon Jan 2 15:54:29 2023 +0100

    [dwm][patch][layoutmenu] Fix -Waddress warning
    
    Compare (c[0] == ' will never be null.

diff --git a/dwm.suckless.org/patches/layoutmenu/dwm-layoutmenu-6.2.diff b/dwm.suckless.org/patches/layoutmenu/dwm-layoutmenu-6.2.diff
index c2097d66..bfa88c18 100644
--- a/dwm.suckless.org/patches/layoutmenu/dwm-layoutmenu-6.2.diff
+++ b/dwm.suckless.org/patches/layoutmenu/dwm-layoutmenu-6.2.diff
_AT_@ -61,7 +61,7 @@ index 4465af1..2508a0a 100644
 + s = fgets(c, sizeof(c), p);
 + pclose(p);
 +
-+ if (!s || *s == '++ if (!s || *s == ' + return;
 +
 + i = atoi(c);
diff --git a/dwm.suckless.org/patches/layoutmenu/index.md b/dwm.suckless.org/patches/layoutmenu/index.md
index 5b547339..59900028 100644
--- a/dwm.suckless.org/patches/layoutmenu/index.md
+++ b/dwm.suckless.org/patches/layoutmenu/index.md
_AT_@ -24,5 +24,6 @@ Extra layouts
 ## Download
 * [dwm-layoutmenu-6.2.diff](dwm-layoutmenu-6.2.diff)
 
-## Author
-* [tdu](https://github.com/tdukv) - < tdukv at protonmail com>
+## Authors
+* [tdu](https://github.com/tdukv) - < tdukv at protonmail com >
+* 8dcc - 8dcc.git_AT_gmail.com (`-Waddress` fix)
Received on Mon Jan 02 2023 - 14:57:54 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 02 2023 - 15:00:48 CET