|  | @@ -2673,13 +2673,13 @@ int nvgTextBreakLines(NVGcontext* ctx, const char* string, const char* end, floa | 
														
													
														
															
																|  |  | rowMaxX = q.x1 - rowStartX; |  |  | rowMaxX = q.x1 - rowStartX; | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | // track last end of a word |  |  | // track last end of a word | 
														
													
														
															
																|  |  | if ((ptype == NVG_CHAR && type == NVG_SPACE) || type == NVG_CJK_CHAR) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | if (((ptype == NVG_CHAR || ptype == NVG_CJK_CHAR) && type == NVG_SPACE)  || type == NVG_CJK_CHAR) { | 
														
													
														
															
																|  |  | breakEnd = iter.str; |  |  | breakEnd = iter.str; | 
														
													
														
															
																|  |  | breakWidth = rowWidth; |  |  | breakWidth = rowWidth; | 
														
													
														
															
																|  |  | breakMaxX = rowMaxX; |  |  | breakMaxX = rowMaxX; | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | // track last beginning of a word |  |  | // track last beginning of a word | 
														
													
														
															
																|  |  | if ((ptype == NVG_SPACE && type == NVG_CHAR) || type == NVG_CJK_CHAR) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | if ((ptype == NVG_SPACE && (type == NVG_CHAR || type == NVG_CJK_CHAR)) || type == NVG_CJK_CHAR) { | 
														
													
														
															
																|  |  | wordStart = iter.str; |  |  | wordStart = iter.str; | 
														
													
														
															
																|  |  | wordStartX = iter.x; |  |  | wordStartX = iter.x; | 
														
													
														
															
																|  |  | wordMinX = q.x0 - rowStartX; |  |  | wordMinX = q.x0 - rowStartX; | 
														
													
												
													
														
															
																|  | 
 |