summaryrefslogtreecommitdiff
path: root/src/trg-remote-prefs-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-01 10:38:54 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-01 10:38:54 +0000
commitd37e60bf0ba266368bea34b6b080d17d52d3d32c (patch)
tree2f90a9af87f1001d47190767a7b270a2bf9e985f /src/trg-remote-prefs-dialog.c
parent607b8ae3d15b2b60dfb33777d6d6c0fd817ed05e (diff)
fix a warning caused by divide by zero on empty files
Diffstat (limited to 'src/trg-remote-prefs-dialog.c')
-rw-r--r--src/trg-remote-prefs-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c
index 7f357c5..47124cb 100644
--- a/src/trg-remote-prefs-dialog.c
+++ b/src/trg-remote-prefs-dialog.c
@@ -315,7 +315,7 @@ static GtkWidget *trg_rprefs_connPage(TrgRemotePrefsDialog * win,
hig_workarea_add_wide_control(t, &row, w);
w = trg_json_widget_check_new(&priv->widgets, s, SGET_LPD_ENABLED, _("Local peer discovery"), NULL);
- hig_workarea_add_wide_control(t, &row, w);
+ hig_workarea_add_wide_control(t, &row, w);
stringValue = g_strdup_printf(_("Blocklist (%ld entries)"),
session_get_blocklist_size(s));