[Prime-cvs] CVS update: prime/src

Back to archive index

Hiroyuki Komatsu komat****@users*****
2004年 12月 9日 (木) 23:51:43 JST


Index: prime/src/prime.src
diff -u prime/src/prime.src:1.3.4.2 prime/src/prime.src:1.3.4.3
--- prime/src/prime.src:1.3.4.2	Sun Dec  5 19:07:17 2004
+++ prime/src/prime.src	Thu Dec  9 23:51:43 2004
@@ -1,7 +1,7 @@
 #!/usr/bin/env ruby
 #
 # PRIME: PRedictive Input Method Editor
-# $Id: prime.src,v 1.3.4.2 2004/12/05 10:07:17 komatsu Exp $
+# $Id: prime.src,v 1.3.4.3 2004/12/09 14:51:43 komatsu Exp $
 #
 # Copyright (C) 2001 Satoru Takabayashi <sator****@namaz*****>
 # Copyright (C) 2002, 2003 Hiroyuki Komatsu <komat****@taiya*****>
@@ -102,10 +102,14 @@
       PRIME_ENV['debug'] = false
     end
     
-    typing_method = (options['typing-method'] || ENV['PRIME_TYPING_METHOD'])
+    typing_method = (options['typing-method']   || \
+                     ENV['PRIME_TYPING_METHOD'] || \
+                     PRIME_ENV['typing_method'] )
     PRIME_ENV['typing_method'] = typing_method
 
-    char_encoding = (options['char-encoding'] || ENV['PRIME_CHAR_ENCODING'])
+    char_encoding = (options['char-encoding']   || \
+                     ENV['PRIME_CHAR_ENCODING'] || \
+                     PRIME_ENV['char_encoding'] )
     PRIME_ENV['char_encoding'] = char_encoding
 
     return options


Prime-cvs メーリングリストの案内
Back to archive index