Fix minor style issues in show_part_content function.
authorCarl Worth <cworth@cworth.org>
Sat, 5 Jun 2010 15:47:13 +0000 (08:47 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 5 Jun 2010 15:47:13 +0000 (08:47 -0700)
I was recently editing the code in this function and decided to clean
it up a bit.

notmuch-show.c

index 4ed5fc74a1796f98ef41da996c7f4ee5e55df6a4..af7854d814b929c9be1b43bb5b3d33cfa8a0e340 100644 (file)
@@ -221,18 +221,18 @@ show_part_content (GMimeObject *part, GMimeStream *stream_out)
     charset = g_mime_object_get_content_type_parameter (part, "charset");
 
     if (stream_out) {
-       stream_filter = g_mime_stream_filter_new(stream_out);
-       g_mime_stream_filter_add(GMIME_STREAM_FILTER(stream_filter),
-                                g_mime_filter_crlf_new(FALSE, FALSE));
+       stream_filter = g_mime_stream_filter_new (stream_out);
+       g_mime_stream_filter_add(GMIME_STREAM_FILTER (stream_filter),
+                                g_mime_filter_crlf_new (FALSE, FALSE));
         if (charset) {
            GMimeFilter *charset_filter;
-           charset_filter = g_mime_filter_charset_new(charset, "UTF-8");
+           charset_filter = g_mime_filter_charset_new (charset, "UTF-8");
            /* This result can be NULL for things like "unknown-8bit".
             * Don't set a NULL filter as that makes GMime print
             * annoying assertion-failure messages on stderr. */
            if (charset_filter)
-               g_mime_stream_filter_add(GMIME_STREAM_FILTER(stream_filter),
-                                        charset_filter);
+               g_mime_stream_filter_add (GMIME_STREAM_FILTER (stream_filter),
+                                         charset_filter);
        }
     }