diff options
author | Louie Shprung <lshprung@tutanota.com> | 2024-08-30 16:14:26 -0400 |
---|---|---|
committer | Louie Shprung <lshprung@tutanota.com> | 2024-08-30 16:14:26 -0400 |
commit | 615c64bcd69eea3660f0a35396255c2eb45fa283 (patch) | |
tree | 8e4d8da22240f1ab8da4ff097f74177fcbf24f50 /src/windows/draw.c | |
parent | 9cd631a391568c3e75d6f9ee65707dea0bea6d9a (diff) | |
parent | a3d9eb21789bf3587f176e6d155d610b8bc69dab (diff) |
Merge branch 'testing'
Diffstat (limited to 'src/windows/draw.c')
-rw-r--r-- | src/windows/draw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/windows/draw.c b/src/windows/draw.c index 3b06b9f..cbc565f 100644 --- a/src/windows/draw.c +++ b/src/windows/draw.c @@ -6,10 +6,10 @@ #include "../include/group.h" void launch(){ + ENTRY **e = get_gentries(g[g_hover]); char *program = get_gprog(g[g_hover]); char *flags = get_gflags(g[g_hover]); char *path = get_epath(e[e_hover[g_hover]]); - bool quotes = get_gquotes(g[g_hover]); char file[BUF_LEN]; char params[BUF_LEN]; @@ -24,9 +24,7 @@ void launch(){ } else{ - if(quotes) strcat(file, "\""); strcat(file, program); - if(quotes) strcat(file, "\""); params[0] = '\0'; if(flags[0] != '\0'){ |