[gnome-software] trivial: Do not modify bitfields before the first coffee of the day



commit 21ab6c9bb8d39256725a503f4dd43d8b98366178
Author: Richard Hughes <richard hughsie com>
Date:   Wed Oct 23 15:40:39 2013 +0100

    trivial: Do not modify bitfields before the first coffee of the day

 src/gs-shell-updates.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index 089c6b0..faaaae8 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -197,7 +197,7 @@ gs_shell_updates_refresh (GsShellUpdates *shell_updates,
        refine_flags = GS_PLUGIN_REFINE_FLAGS_DEFAULT |
                       GS_PLUGIN_REFINE_FLAGS_REQUIRE_VERSION;
        if (show_historical)
-               refine_flags &= GS_PLUGIN_REFINE_FLAGS_USE_HISTORY;
+               refine_flags |= GS_PLUGIN_REFINE_FLAGS_USE_HISTORY;
        gs_plugin_loader_get_updates_async (priv->plugin_loader,
                                            refine_flags,
                                            priv->cancellable,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]