diff options
author | 2011-02-09 19:51:59 +0000 | |
---|---|---|
committer | 2011-02-09 19:51:59 +0000 | |
commit | c277216befdc3438e717ea55539f49f7ffae107c (patch) | |
tree | a039f7547786c0cf3f103a6879285b067f7a7cdf /src/torrent.c | |
parent | 1cd35ab86d03cb76152363e33a2b85a1484c44e5 (diff) |
indent -kr *.c *.h
Diffstat (limited to 'src/torrent.c')
-rw-r--r-- | src/torrent.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/torrent.c b/src/torrent.c index 9cc4d10..d05cb2b 100644 --- a/src/torrent.c +++ b/src/torrent.c @@ -166,18 +166,18 @@ gdouble torrent_get_percent_done(JsonObject * t) gchar *torrent_get_status_icon(guint flags) { - if (flags & TORRENT_FLAG_ERROR) - return g_strdup(GTK_STOCK_DIALOG_WARNING); - else if (flags & TORRENT_FLAG_DOWNLOADING) - return g_strdup(GTK_STOCK_GO_DOWN); - else if (flags & TORRENT_FLAG_PAUSED) - return g_strdup(GTK_STOCK_MEDIA_PAUSE); - else if (flags & TORRENT_FLAG_SEEDING) - return g_strdup(GTK_STOCK_GO_UP); - else if (flags & TORRENT_FLAG_CHECKING) - return g_strdup(GTK_STOCK_REFRESH); - else - return g_strdup(GTK_STOCK_DIALOG_QUESTION); + if (flags & TORRENT_FLAG_ERROR) + return g_strdup(GTK_STOCK_DIALOG_WARNING); + else if (flags & TORRENT_FLAG_DOWNLOADING) + return g_strdup(GTK_STOCK_GO_DOWN); + else if (flags & TORRENT_FLAG_PAUSED) + return g_strdup(GTK_STOCK_MEDIA_PAUSE); + else if (flags & TORRENT_FLAG_SEEDING) + return g_strdup(GTK_STOCK_GO_UP); + else if (flags & TORRENT_FLAG_CHECKING) + return g_strdup(GTK_STOCK_REFRESH); + else + return g_strdup(GTK_STOCK_DIALOG_QUESTION); } const gchar *torrent_get_errorstr(JsonObject * t) |