summaryrefslogtreecommitdiff
path: root/src/e.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2005-08-16 14:50:49 +0000
committerMichael Jennings <mej@kainx.org>2005-08-16 14:50:49 +0000
commit0ceb45845762d41113e4cce75a1036682d78f073 (patch)
tree17e4a2413caaf63c5d6c45b68737bd385366705b /src/e.c
parentf79bf997cf47559f97cec96c2ce39cc98141b2ec (diff)
downloadeterm-0ceb45845762d41113e4cce75a1036682d78f073.tar.gz
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 <yasufumi.haga@nifty.com>. Fixed E IPC version check to work with old and new schemes. ---------------------------------------------------------------------- SVN revision: 16213
Diffstat (limited to 'src/e.c')
-rw-r--r--src/e.c6
1 files changed, 6 insertions, 0 deletions
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;
}