The branch, master has been updated
via 296e6b3501728a9b4ba5cc2dc02c54000c3d3aea (commit)
from 514faf3c1f5ff76b2709f0d6219c3c6c5cd50eaa (commit)
https://github.com/xbmc/xbmc/commit/296e6b3501728a9b4ba5cc2dc02c54000c3d3aea
commit 296e6b3501728a9b4ba5cc2dc02c54000c3d3aea
Author: vdrfan <vdrfan-nospam-@...>
Date: Thu Jun 16 16:33:32 2011 +0200
fixed: braces to avoid ambiguous 'else' warnings
diff --git a/xbmc/windows/GUIWindowHome.cpp b/xbmc/windows/GUIWindowHome.cpp
index 1121516..4ba0919 100644
--- a/xbmc/windows/GUIWindowHome.cpp
+++ b/xbmc/windows/GUIWindowHome.cpp
@@ -64,19 +64,23 @@ void CGUIWindowHome::Announce(EAnnouncementFlag flag, const char *sender, const
{
if ((strcmp(message, "OnUpdate") == 0) ||
(strcmp(message, "OnRemove") == 0))
+ {
if (data.isMember("playcount"))
ra_flag |= Totals;
else
ra_flag |= (Video | Totals);
+ }
}
else if (flag & AudioLibrary)
{
if ((strcmp(message, "OnUpdate") == 0) ||
(strcmp(message, "OnRemove") == 0))
+ {
if (data.isMember("playcount"))
ra_flag |= Totals;
else
ra_flag |= ( Audio | Totals );
+ }
}
// add the job immediatedly if the home window is active
-----------------------------------------------------------------------
Summary of changes:
xbmc/windows/GUIWindowHome.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
[xbmc/xbmc]
|