Ignore out-of-bound error in MarkCommentRow
This commit is contained in:
		
							parent
							
								
									6f72961f54
								
							
						
					
					
						commit
						5c657a221f
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -55,8 +55,11 @@ def FindAlternativeRow(rows, c, height, bottomReserved): | |||
| 
 | ||||
| 
 | ||||
| def MarkCommentRow(rows, c, row): | ||||
|     for i in range(row, row+math.ceil(c[7])): | ||||
|         rows[c[4]][i] = c | ||||
|     try: | ||||
|         for i in range(row, row+math.ceil(c[7])): | ||||
|             rows[c[4]][i] = c | ||||
|     except IndexError: | ||||
|         pass | ||||
| 
 | ||||
| 
 | ||||
| def WriteComment(f, c, row, width, height, bottomReserved, fontsize, lifetime): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Star Brilliant
						Star Brilliant