[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

[MD:5225] Re: RECONVERSION



先ほどの変更に続き、不具合の修正をしました。

合わせてChangeLogも添付します。

2004-07-15  KOBAYASHI Yasuhiro  <kobayays@xxxxxxxxxxxxxx>

	* mw32ime.c (mw32_get_ime_reconversion_string)
	(mw32_get_ime_reconversion_string): Fix previous change and change
	the reconvert area from eol to end of the word.


--- /home/kobayays/mw32ime.c~	2004-07-15 08:28:06.000000000 +0900
+++ /home/kobayays/mw32ime.c	2004-07-15 11:26:52.000000000 +0900
@@ -271,10 +271,12 @@
 
   if (!NILP (current_buffer->mark_active))
     {
-      start = (marker_position (current_buffer->mark) < PT
-	       ? Fmarker_position (current_buffer->mark) : PT);
-      end = (marker_position (current_buffer->mark) < PT
-	     ? PT : Fmarker_position (current_buffer->mark));
+      start = marker_position (current_buffer->mark) < PT
+	? Fmarker_position (current_buffer->mark)
+	: Fpoint_marker ();
+      end = marker_position (current_buffer->mark) < PT
+	? Fpoint_marker ()
+	: Fmarker_position (current_buffer->mark);
     }
   else
     {
@@ -309,10 +311,12 @@
 
   if (!NILP (current_buffer->mark_active))
     {
-      start = (marker_position (current_buffer->mark) < PT
-	       ? Fmarker_position (current_buffer->mark) : PT);
-      end = (marker_position (current_buffer->mark) < PT
-	     ? PT : Fmarker_position (current_buffer->mark));
+      start = marker_position (current_buffer->mark) < PT
+	? Fmarker_position (current_buffer->mark)
+	: Fpoint_marker ();
+      end = marker_position (current_buffer->mark) < PT
+	? Fpoint_marker ()
+	: Fmarker_position (current_buffer->mark);
     }
   else
     {

-- 
KOBAYASHI Yasuhiro <kobayays@xxxxxxxxxxxxxx>