aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-08-07 18:30:46 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-08-07 18:30:46 +0200
commit9042aeaa932e2451811febe0c2831591f2ce7030 (patch)
tree76e89a1346d6d27ccec75db048065523b6ed8cd4
parent180b16faee4b4fdba493d6ba7a5b4ba6e0475ead (diff)
downloaddesktop-tools-9042aeaa932e2451811febe0c2831591f2ce7030.tar.gz
desktop-tools-9042aeaa932e2451811febe0c2831591f2ce7030.tar.xz
desktop-tools-9042aeaa932e2451811febe0c2831591f2ce7030.zip
wmstatus: fix the binding parser
-rw-r--r--wmstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wmstatus.c b/wmstatus.c
index 426fb0d..5c94378 100644
--- a/wmstatus.c
+++ b/wmstatus.c
@@ -939,7 +939,7 @@ parse_binding (const char *line, struct strv *out)
{
case 0: edge = table[state][0]; break;
case '\t':
- case '\n': edge = table[state][4]; break;
+ case '\n':
case ' ': edge = table[state][1]; break;
case '\'': edge = table[state][2]; break;
case '\\': edge = table[state][3]; break;