mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Issue11: null context causing indentation crash
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									b84ebdcb05
								
							
						
					
					
						commit
						511dceec5c
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -25,7 +25,7 @@ module REXML | |||
| 		end | ||||
| 
 | ||||
| 		def indent to, ind | ||||
|  			if @parent and not @parent.context[:indentstyle].nil? then | ||||
|  			if @parent and @parent.context and not @parent.context[:indentstyle].nil? then | ||||
|  				indentstyle = @parent.context[:indentstyle] | ||||
|  			else | ||||
|  				indentstyle = '  ' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ser
						ser