Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
windowmatch.c
Log Message:
Fix parsing title, name, and class matches in windowmatches.cfg (noted by Ted
Baltz).
===================================================================
RCS file: /cvs/e/e16/e/src/windowmatch.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- windowmatch.c 25 Feb 2007 19:03:19 -0000 1.60
+++ windowmatch.c 7 May 2007 22:46:01 -0000 1.61
@@ -190,19 +190,19 @@
if (!wm)
break;
wm->match = MATCH_TYPE_TITLE;
- wm->value = Estrdup(s + len);
+ wm->value = Estrdup(s2);
break;
case WINDOWMATCH_MATCHNAME:
if (!wm)
break;
wm->match = MATCH_TYPE_WM_NAME;
- wm->value = Estrdup(s + len);
+ wm->value = Estrdup(s2);
break;
case WINDOWMATCH_MATCHCLASS:
if (!wm)
break;
wm->match = MATCH_TYPE_WM_CLASS;
- wm->value = Estrdup(s + len);
+ wm->value = Estrdup(s2);
break;
case WINDOWMATCH_WIDTH:
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs