Revision: 6924
Author: deton.kih
Date: Fri Jan 21 18:16:42 2011
Log: * uim/skk.c
  - (is_okuri): Fix SEGV on illegal line " //".

http://code.google.com/p/uim/source/detail?r=6924

Modified:
 /trunk/uim/skk.c

=======================================
--- /trunk/uim/skk.c    Thu Jan  6 18:09:56 2011
+++ /trunk/uim/skk.c    Fri Jan 21 18:16:42 2011
@@ -211,7 +211,7 @@
   const char *b;
   /* find first white space */
   b = strchr(line_str, ' ');
-  if (!b)
+  if (!b || b == line_str)
     return 0;
   /* check previous character */
   b--;

Reply via email to