Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : elogin
Dir : misc/elogin/src/client
Modified Files:
events.c
Log Message:
Fixed key input callback so period can be accepted.
===================================================================
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/events.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- events.c 13 Jan 2003 23:10:12 -0000 1.8
+++ events.c 21 Jan 2003 05:09:36 -0000 1.9
@@ -114,7 +114,6 @@
if (e->key)
{
int length = 0;
-
length = strlen(e->key);
if (e->mods & ECORE_EVENT_KEY_MODIFIER_CTRL)
{
@@ -150,6 +149,10 @@
{
typebuffer.buf[typebuffer.buf_index++] = ' ';
}
+ else if(!(strcmp(e->key, "period")))
+ {
+ typebuffer.buf[typebuffer.buf_index++] = '.';
+ }
}
else
{
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs