Fixed indent: spaces -> tabs.
This commit is contained in:
parent
d8286a63ec
commit
6e3f05fcc7
@ -170,11 +170,11 @@ static int gtk_xtext_find_subline (GtkXText *xtext, textentry *ent, int line);
|
|||||||
/* static char *gtk_xtext_conv_color (unsigned char *text, int len, int *newlen); */
|
/* static char *gtk_xtext_conv_color (unsigned char *text, int len, int *newlen); */
|
||||||
/* For use by gtk_xtext_strip_color() and its callers -- */
|
/* For use by gtk_xtext_strip_color() and its callers -- */
|
||||||
typedef union offlen_u {
|
typedef union offlen_u {
|
||||||
struct offlen_s {
|
struct offlen_s {
|
||||||
guint16 off;
|
guint16 off;
|
||||||
guint16 len;
|
guint16 len;
|
||||||
} o;
|
} o;
|
||||||
guint32 u;
|
guint32 u;
|
||||||
} offlen_t;
|
} offlen_t;
|
||||||
static unsigned char *
|
static unsigned char *
|
||||||
gtk_xtext_strip_color (unsigned char *text, int len, unsigned char *outbuf,
|
gtk_xtext_strip_color (unsigned char *text, int len, unsigned char *outbuf,
|
||||||
@ -196,14 +196,14 @@ static gboolean gtk_xtext_search_init (xtext_buffer *buf, const gchar *text, gtk
|
|||||||
static char *
|
static char *
|
||||||
nocasestrstr (const char *s, const char *tofind)
|
nocasestrstr (const char *s, const char *tofind)
|
||||||
{
|
{
|
||||||
register const size_t len = strlen (tofind);
|
register const size_t len = strlen (tofind);
|
||||||
|
|
||||||
if (len == 0)
|
if (len == 0)
|
||||||
return (char *)s;
|
return (char *)s;
|
||||||
while (toupper(*s) != toupper(*tofind) || g_ascii_strncasecmp (s, tofind, len))
|
while (toupper(*s) != toupper(*tofind) || g_ascii_strncasecmp (s, tofind, len))
|
||||||
if (*s++ == '\0')
|
if (*s++ == '\0')
|
||||||
return (char *)NULL;
|
return (char *)NULL;
|
||||||
return (char *)s;
|
return (char *)s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user