Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=14dfcea4315fa1ea815524e8b78a025b68cb6831
commit 14dfcea4315fa1ea815524e8b78a025b68cb6831
Author: Priyank <[EMAIL PROTECTED]>
Date: Mon Sep 10 22:36:45 2007 +0530
bugfix in cb_gfpm_search_keypress()
* Fixed a bug where gfpm displayed all packages as locally newer after one
locally newer package was found.
diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index ed7ced8..07a6afd 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -1296,10 +1296,10 @@ cb_gfpm_search_keypress (GtkWidget *widget, GdkEventKey
*event, gpointer data)
PM_PKG *pm_lpkg;
gboolean inst = FALSE;
gboolean up = FALSE;
- gboolean ln = FALSE;
for (i=l;i;i=pacman_list_next(i))
{
+ gboolean ln = FALSE;
pm_pkg = pacman_db_readpkg (sync_db, pacman_list_getdata(i));
pm_lpkg = pacman_db_readpkg (local_db, pacman_list_getdata(i));
if (pacman_pkg_getinfo (pm_lpkg, PM_PKG_VERSION)!=NULL)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git