summaryrefslogtreecommitdiff
path: root/src/trg-torrent-props-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-21 17:06:35 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-21 17:06:35 +0000
commit6b74b53f591e1c34b12e3c5abdc75b8f627f7b9b (patch)
tree990e854f6308a3035f0b802bc94c7a45295460f1 /src/trg-torrent-props-dialog.c
parent662425f087cbc75625f89c15224a485b4b992074 (diff)
fix that min/max problem reported by reardonia
Diffstat (limited to 'src/trg-torrent-props-dialog.c')
-rw-r--r--src/trg-torrent-props-dialog.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c
index a0ae22a..d18b577 100644
--- a/src/trg-torrent-props-dialog.c
+++ b/src/trg-torrent-props-dialog.c
@@ -136,12 +136,10 @@ trg_torrent_props_response_cb(GtkDialog * dlg, gint res_id,
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);
trg_json_widgets_save(priv->widgets, args);