src/gtkimhtml.c

changeset 10600
0c0053f3316c
parent 10589
4e10236e06d4
child 10666
dbd29038789a
equal deleted inserted replaced
10599:7c6952a9d065 10600:0c0053f3316c
1464 pos = strchr (t->values->str, *amp); 1464 pos = strchr (t->values->str, *amp);
1465 } 1465 }
1466 else if (*x == '<') /* Because we're all WYSIWYG now, a '<' 1466 else if (*x == '<') /* Because we're all WYSIWYG now, a '<'
1467 * char should only appear as the start of a tag. Perhaps a safer (but costlier) 1467 * char should only appear as the start of a tag. Perhaps a safer (but costlier)
1468 * check would be to call gtk_imhtml_is_tag on it */ 1468 * check would be to call gtk_imhtml_is_tag on it */
1469 return 0; 1469 break;
1470 else 1470 else
1471 pos = strchr (t->values->str, *x); 1471 pos = strchr (t->values->str, *x);
1472 1472
1473 if (pos) 1473 if (pos)
1474 t = t->children [GPOINTER_TO_INT(pos) - GPOINTER_TO_INT(t->values->str)]; 1474 t = t->children [GPOINTER_TO_INT(pos) - GPOINTER_TO_INT(t->values->str)];

mercurial