summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorIain Lane <iain@orangesquash.org.uk>2014-10-03 17:32:44 +0100
committerIain Lane <iain@orangesquash.org.uk>2014-10-03 17:32:44 +0100
commit2748a02050a90c339c1430430f69816d088359e5 (patch)
tree4b8d2e8ba034124d49056b5199c8b63ef127a013 /unity-shared
parent7c4c6ee6d0e7a3ba45e2430461de7da40170c7c5 (diff)
Move {} onto their own lines
(bzr r3875.1.2)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/GnomeKeyGrabber.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/unity-shared/GnomeKeyGrabber.cpp b/unity-shared/GnomeKeyGrabber.cpp
index 69d4447b8..8f6467447 100644
--- a/unity-shared/GnomeKeyGrabber.cpp
+++ b/unity-shared/GnomeKeyGrabber.cpp
@@ -200,11 +200,13 @@ unsigned int GnomeGrabber::Impl::grabAccelerator(char const* accelerator, unsign
CompAction action;
action.keyFromString(accelerator);
- if (action.keyToString() == "Disabled") {
+ if (action.keyToString() == "Disabled")
+ {
CompString prefixed = "XF86" + CompString(accelerator);
LOG_DEBUG(logger) << "Can't grab \"" << accelerator << "\", trying \"" << prefixed << "\"";
action.keyFromString(prefixed);
- } else
+ }
+ else
LOG_DEBUG(logger) << "grabAccelerator \"" << accelerator << "\"";
if (!isActionPostponed(action))