From 0ceb45845762d41113e4cce75a1036682d78f073 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Tue, 16 Aug 2005 14:50:49 +0000 Subject: Tue Aug 16 10:48:12 2005 Michael Jennings (mej) Applied a fix from benny@sweetfactory.org for a typo in keysym handling. Fixed percent signs in menu files thanks to Yasufumi Haga . Fixed E IPC version check to work with old and new schemes. ---------------------------------------------------------------------- SVN revision: 16213 --- src/e.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/e.c') diff --git a/src/e.c b/src/e.c index ed84f0f..2b5b803 100644 --- a/src/e.c +++ b/src/e.c @@ -90,9 +90,15 @@ enl_ipc_get_win(void) char *ver, *tmp; tmp = strchr((char *) str, ' '); + if (!tmp) { + tmp = strchr((char *) str, '-'); + } if (tmp) { ver = tmp + 1; tmp = strchr((char *) ver, ' '); + if (! tmp) { + tmp = strchr((char *) ver, '-'); + } if (tmp) { *tmp = 0; } -- cgit v1.2.1