[uim-commit] r719 - trunk/uim

tkng at freedesktop.org tkng at freedesktop.org
Thu Feb 24 12:15:06 PST 2005


Author: tkng
Date: 2005-02-24 12:15:02 -0800 (Thu, 24 Feb 2005)
New Revision: 719

Modified:
   trunk/uim/prime.c
Log:
* uim/prime.c:
 -(prime_lib_init): Fixed too many execution of prime. Thanks to 
  Hiroyuki Komatsu <komatsu at taiyaki.org>.


Modified: trunk/uim/prime.c
===================================================================
--- trunk/uim/prime.c	2005-02-24 19:37:45 UTC (rev 718)
+++ trunk/uim/prime.c	2005-02-24 20:15:02 UTC (rev 719)
@@ -232,7 +232,9 @@
       else
 	return uim_scm_t();
     } else {
-      prime_pid = uim_ipc_open_command(prime_pid, &primer, &primew, prime_command );
+      if (prime_pid == 0) {
+	prime_pid = uim_ipc_open_command( prime_pid, &primer, &primew, prime_command );
+      }
       if(prime_pid == 0) {
 	return uim_scm_f();
       }



More information about the Uim-commit mailing list