Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        Makefile.am ecore_x_events.c 


Log Message:


use utf8 for compose string

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 24 Nov 2003 06:41:43 -0000      1.3
+++ Makefile.am 3 Dec 2003 07:03:45 -0000       1.4
@@ -2,11 +2,13 @@
 
 INCLUDES = \
 -I$(top_srcdir)/src/lib/ecore \
+-I$(top_srcdir)/src/lib/ecore_txt \
 -I$(top_srcdir)/src/lib/ecore_job \
 @x_cflags@
 
 libecore_x_la_LDFLAGS = -version-info 1:0:0 \
 -L$(top_builddir)/src/lib/ecore/.libs \
+-L$(top_builddir)/src/lib/ecore_txt/.libs
 -L$(top_builddir)/src/lib/ecore_job/.libs
 
 if BUILD_ECORE_X
@@ -29,12 +31,14 @@
 
 libecore_x_la_LIBADD = \
 $(top_builddir)/src/lib/ecore/libecore.la \
+$(top_builddir)/src/lib/ecore_job/libecore_txt.la \
 $(top_builddir)/src/lib/ecore_job/libecore_job.la \
 @x_ldflags@ \
 @x_libs@
 
 libecore_x_la_DEPENDENCIES = \
 $(top_builddir)/src/lib/ecore/libecore.la \
+$(top_builddir)/src/lib/ecore_job/libecore_txt.la \
 $(top_builddir)/src/lib/ecore_job/libecore_job.la
 
 endif
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ecore_x_events.c    24 Nov 2003 06:19:56 -0000      1.10
+++ ecore_x_events.c    3 Dec 2003 07:03:46 -0000       1.11
@@ -143,7 +143,7 @@
    if (val > 0)
      {
        buf[val] = 0;
-       e->key_compose = strdup(buf);
+       e->key_compose = ecore_txt_convert("LATIN1", "UTF-8", buf);
      }
    else e->key_compose = NULL;
    keyname = XKeysymToString(sym);
@@ -194,7 +194,7 @@
    if (val > 0)
      {
        buf[val] = 0;
-       e->key_compose = strdup(buf);
+       e->key_compose = ecore_txt_convert("LATIN1", "UTF-8", buf);
      }
    else e->key_compose = NULL;
    keyname = XKeysymToString(sym);




-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to