mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* expand tabs.
This commit is contained in:
		
							parent
							
								
									8f51da5d41
								
							
						
					
					
						commit
						551ef27490
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								string.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								string.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -5087,7 +5087,7 @@ rb_str_sub_bang(int argc, VALUE *argv, VALUE str)
 | 
			
		|||
	if (rlen != plen) {
 | 
			
		||||
	    memmove(p + beg0 + rlen, p + beg0 + plen, len - beg0 - plen);
 | 
			
		||||
	}
 | 
			
		||||
	memmove(p + beg0, rp, rlen);
 | 
			
		||||
        memmove(p + beg0, rp, rlen);
 | 
			
		||||
	len += rlen - plen;
 | 
			
		||||
	STR_SET_LEN(str, len);
 | 
			
		||||
	TERM_FILL(&RSTRING_PTR(str)[len], TERM_LEN(str));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue