diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-02-27 10:05:15 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-02-27 10:05:15 +0000 |
commit | 73f350d9766c1c1b8aae058c3e75f8ddf5050760 (patch) | |
tree | 5e862d12a1a901327982a1f0a4942de6cfb5a40c /x11-wm/euclid-wm/files/patch-euclid-menu.c | |
parent | net-im/openfire: update to 4.1.3 (diff) |
Unbreak port
- Move from Google Code to GitHub
- Update maintainer email
PR: 213190
Submitted by: Mageirias Anastasios <anastasios@mageirias.com> (maintainer)
Approved by: lme (mentor)
Differential Revision: https://reviews.freebsd.org/D9822
Notes
Notes:
svn path=/head/; revision=434922
Diffstat (limited to 'x11-wm/euclid-wm/files/patch-euclid-menu.c')
-rw-r--r-- | x11-wm/euclid-wm/files/patch-euclid-menu.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/euclid-wm/files/patch-euclid-menu.c b/x11-wm/euclid-wm/files/patch-euclid-menu.c new file mode 100644 index 000000000000..073e04fb9b0d --- /dev/null +++ b/x11-wm/euclid-wm/files/patch-euclid-menu.c @@ -0,0 +1,11 @@ +--- euclid-menu.c.orig 2016-12-17 00:40:07 UTC ++++ euclid-menu.c +@@ -211,7 +211,7 @@ void load_handlers() { + chdir(getenv("HOME")); //so when we run a program it isn't in a config dir. + } + +-inline char* find_handler() { ++static inline char* find_handler() { + //read buf use an aray to pick the appropriate file handler and return the command + //what is here now is a bit simple, we need to also check the end of the line to see whether the returned command is prompting for another handler (e.g., if the command takes a filename or a URL as an argument + if (buf[0] == ':') { |