diff options
author | Loui Chang | 2015-06-24 10:43:42 -0400 |
---|---|---|
committer | Loui Chang | 2015-06-24 10:43:42 -0400 |
commit | fd54ad0f7581574d7b4827c4f4b20022c6382087 (patch) | |
tree | 8bc075c43e468e29b577aaa3a7e1455277546298 /refresh-index-empty.diff | |
download | aur-fd54ad0f7581574d7b4827c4f4b20022c6382087.tar.gz |
rolo: Initial commit
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'refresh-index-empty.diff')
-rw-r--r-- | refresh-index-empty.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/refresh-index-empty.diff b/refresh-index-empty.diff new file mode 100644 index 000000000000..3d589550a173 --- /dev/null +++ b/refresh-index-empty.diff @@ -0,0 +1,19 @@ +Avoid a segmentation fault when deleting a record in a vcf file containing +that single record (closes: #415737) + + -- Rafael Laboissiere <rafael@debian.org> Mon, 30 Jun 2008 16:46:12 +0200 + +Index: rolo-011.dfsg.1/src/index.c +=================================================================== +--- rolo-011.dfsg.1.orig/src/index.c 2008-06-30 16:48:31.000000000 +0200 ++++ rolo-011.dfsg.1/src/index.c 2008-06-30 16:48:37.000000000 +0200 +@@ -616,7 +616,8 @@ + + items = menu_items (menu); + current_index = current_index >= count ? count : current_index; +- set_current_item (menu, items[current_index]); ++ if (items != NULL) ++ set_current_item (menu, items[current_index]); + } + + /*************************************************************************** |