(no subject)

Max Schedriviy max at tavrida.net
Fri Aug 17 12:34:08 UTC 2001


patch for quick_input in the QuickDialog. Move cursor in 
copy/move/symlink/etc dialogs to end of string.

---------------------------
--- wtools.c	Wed Jun 27 16:29:24 2001
+++ wtools.c.new	Fri Aug 17 15:02:16 2001
@@ -479,7 +479,10 @@
 	    input = input_new (ypos, xpos, INPUT_COLOR,
 			       qw->hotkey_pos, qw->text, qw->tkname);
 	    input->is_password = qw->value == 1;
-	    input->point = 0;
+	    if (qw->text)
+		input->point = strlen(qw->text);
+	    else
+		input->point = 0;
 	    if (qw->value & 2)
 	        input->completion_flags |= INPUT_COMPLETE_CD;
 	    widget = input;
---------------------------


-- 
C U L8er!
Max Schedriviy                  mailto:max at tavrida.net




More information about the mc-devel mailing list