Subversion Repositories Kolibri OS

Rev

Rev 8492 | Rev 8500 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8492 Rev 8499
Line 214... Line 214...
214
	{
214
	{
215
		if (linebuf[line_len-1]==' ') return; //no double spaces
215
		if (linebuf[line_len-1]==' ') return; //no double spaces
216
		if (draw_x==left_gap) && (!linebuf) return; //no paces at the beginning of the line
216
		if (draw_x==left_gap) && (!linebuf) return; //no paces at the beginning of the line
217
		if (link) && (line_len==0) return;
217
		if (link) && (line_len==0) return;
218
	}
218
	}
219
	if (line_len < sizeof(TWebBrowser.linebuf)) chrcat(#linebuf+line_len, _char);
219
	if (line_len < sizeof(TWebBrowser.linebuf)) {
220
	if (line_len+1 * list.font_w + draw_x >= draw_w) RenderTextbuf();
220
		chrcat(#linebuf+line_len, _char);
-
 
221
	} else {
-
 
222
		RenderTextbuf();
-
 
223
	}
221
}
224
}
222
//============================================================================================
225
//============================================================================================
223
void TWebBrowser::NewLine()
226
void TWebBrowser::NewLine()
224
{
227
{
225
	static bool empty_line = true;
228
	static bool empty_line = true;