I noticed that for the GUI find and replace when not using Replace All where 
there are consecutive matches the second is skipped.

e.g.

Enter "rrr"
Go to start of line
Edit|Find and Replace
Find what: 'r'
Replace with: 's'

click Replace
First 'r' is replaced and cursor moves to third 'r'.

Attached patch corrects this.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
*** gui.c	Tue Jun 14 11:35:47 2016
--- gui.orig.c	Tue Jun 14 11:17:47 2016
***************
*** 5350,5361 ****
      {
  	/* Search for the next match. */
  	i = msg_scroll;
- 	/*don't skip text under cursor for single replace*/
- 	int searchflags = SEARCH_MSG + SEARCH_MARK;
- 	if(type == FRD_REPLACE)
- 	    searchflags += SEARCH_START;
  	(void)do_search(NULL, down ? '/' : '?', ga.ga_data, 1L,
! 					      searchflags, NULL);
  	msg_scroll = i;	    /* don't let an error message set msg_scroll */
      }
  
--- 5350,5357 ----
      {
  	/* Search for the next match. */
  	i = msg_scroll;
  	(void)do_search(NULL, down ? '/' : '?', ga.ga_data, 1L,
! 					      SEARCH_MSG + SEARCH_MARK, NULL);
  	msg_scroll = i;	    /* don't let an error message set msg_scroll */
      }
  

Raspunde prin e-mail lui