summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-06-20 19:03:26 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-06-20 19:03:26 +0100
commit6e3f05fcc7c1b57fc97e3473d1f01071c325c695 (patch)
tree42a50a19369f6a36ea594916edee7a7162854722 /src/fe-gtk
parentd8286a63ec9b5085e643f8ee5ca21ea1290c9b09 (diff)
Fixed indent: spaces -> tabs.
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/xtext.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c
index 7867342f..7582f82c 100644
--- a/src/fe-gtk/xtext.c
+++ b/src/fe-gtk/xtext.c
@@ -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); */
 /* For use by gtk_xtext_strip_color() and its callers -- */
 typedef union offlen_u {
-   struct offlen_s {
-      guint16  off;
-      guint16  len;
-   } o;
-   guint32 u;
+	struct offlen_s {
+		guint16  off;
+		guint16  len;
+	} o;
+	guint32 u;
 } offlen_t;
 static unsigned char *
 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 *
 nocasestrstr (const char *s, const char *tofind)
 {
-   register const size_t len = strlen (tofind);
+	register const size_t len = strlen (tofind);
 
-   if (len == 0)
-     return (char *)s;
-   while (toupper(*s) != toupper(*tofind) || g_ascii_strncasecmp (s, tofind, len))
-     if (*s++ == '\0')
-       return (char *)NULL;
-   return (char *)s;   
+	if (len == 0)
+		return (char *)s;
+	while (toupper(*s) != toupper(*tofind) || g_ascii_strncasecmp (s, tofind, len))
+		if (*s++ == '\0')
+			return (char *)NULL;
+	return (char *)s;
 }
 
 #endif