summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-05-09 18:39:36 -0700
committerLouie S <louie@example.com>2023-05-09 18:39:36 -0700
commit2a790c9b633f72a1b0a106fc72d7587aa08d4bcb (patch)
tree8e8707c8055b2b80cbb7f133139d6f00341b6a04 /src/windows
parent14a6e82cc82e8c1802c0d468c6b32553d56099a6 (diff)
Change how e_hover and e_offset are managed; cache e_hover and e_offset as array
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/draw.c b/src/windows/draw.c
index 28bef68..3b06b9f 100644
--- a/src/windows/draw.c
+++ b/src/windows/draw.c
@@ -8,7 +8,7 @@
void launch(){
char *program = get_gprog(g[g_hover]);
char *flags = get_gflags(g[g_hover]);
- char *path = get_epath(e[e_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];