From 76f4462de7f3a0423a8ca7ac8e4688365599c753 Mon Sep 17 00:00:00 2001
From: Robert Cranston <rcrnstn@rcrnstn.net>
Date: Mon, 4 Feb 2019 00:59:30 +0100
Subject: [PATCH] Decrease minimum items in history from 5 to 1

Mitigates [feature request #62][].

[feature request #62]: https://sourceforge.net/p/parcellite/feature-requests/62/
---
 src/preferences.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/preferences.c b/src/preferences.c
index 6af0b28..0677a6f 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -79,7 +79,7 @@ static char *icon_name="parcellite";
 struct myadj align_hist_x={1,100,1,10};
 struct myadj align_hist_y={1,100,1,10};
 struct myadj align_data_lim={0,1000000,1,10};
-struct myadj align_hist_lim={5, MAX_HISTORY, 1, 10};
+struct myadj align_hist_lim={1, MAX_HISTORY, 1, 10};
 struct myadj align_line_lim={5, DEF_ITEM_LENGTH_MAX, 1, 5};
 struct pref_item {
 	gchar *name;		/**name/id to find pref  */
-- 
2.17.1