summaryrefslogtreecommitdiff
path: root/src/trg-torrent-props-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-23 17:08:34 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-23 17:08:34 +0000
commitdb6a9b33d286e1b2ded90957f6938591661a7a47 (patch)
tree2ea0f47ae4a21ca1194c0cda1e0a5c9987b1b912 /src/trg-torrent-props-dialog.c
parent9d0f1730fa146ee68ad3c6e3e6a9295364d22d98 (diff)
reindent. remote prefs was sending the active encryption preference, lower cased, which won't work with i18n - fixed.
Diffstat (limited to 'src/trg-torrent-props-dialog.c')
-rw-r--r--src/trg-torrent-props-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c
index d50bd89..9b82297 100644
--- a/src/trg-torrent-props-dialog.c
+++ b/src/trg-torrent-props-dialog.c
@@ -139,10 +139,12 @@ trg_torrent_props_response_cb(GtkDialog * dlg, gint res_id,
(priv->seedRatioLimit), args);
json_object_set_int_member(args, FIELD_SEED_RATIO_MODE,
gtk_combo_box_get_active(GTK_COMBO_BOX
- (priv->seedRatioMode)));
+ (priv->
+ seedRatioMode)));
json_object_set_int_member(args, FIELD_BANDWIDTH_PRIORITY,
gtk_combo_box_get_active(GTK_COMBO_BOX
- (priv->bandwidthPriorityCombo))
+ (priv->
+ bandwidthPriorityCombo))
- 1);
gtk_spin_button_json_int_out(GTK_SPIN_BUTTON