Make formatting more consistent

#719
This commit is contained in:
TingPing 2013-08-17 20:39:24 -04:00
parent 41719bd4a8
commit 46c32952b0
1 changed files with 4 additions and 2 deletions

View File

@ -1923,7 +1923,8 @@ gtk_xtext_get_word (GtkXText * xtext, int x, int y, textentry ** ret_ent,
word = ent->str + offset;
while (!is_del (*word) && word != ent->str) {
while (!is_del (*word) && word != ent->str)
{
word--;
len_to_offset++;
}
@ -1950,7 +1951,8 @@ gtk_xtext_get_word (GtkXText * xtext, int x, int y, textentry ** ret_ent,
word = gtk_xtext_strip_color (word, len, xtext->scratch_buffer, NULL, NULL, slp, FALSE);
/* avoid turning the cursor into a hand for non-url part of the word */
if (xtext->urlcheck_function (GTK_WIDGET (xtext), word)) {
if (xtext->urlcheck_function (GTK_WIDGET (xtext), word))
{
int start, end;
url_last (&start, &end);