Factorize duplicate run command code
commit630e9292c22a45cf04bbeea03da5222682e61c48
authorDavid Maciejak <david.maciejak@gmail.com>
Sat, 18 Feb 2023 11:30:29 +0000 (18 19:30 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 19 Feb 2023 10:10:49 +0000 (19 10:10 +0000)
tree3298cfc0c99f745252fff7f5c9086ae9acbb61b2
parent14d1b8197a92251c00eed30d68ac81cc9f879b41
Factorize duplicate run command code

Run command from the menu and run command from the key shortcut are from two different codes.
Merge them into one function instead.
src/event.c
src/misc.c
src/misc.h
src/rootmenu.c