aboutsummaryrefslogtreecommitdiff
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-06-25 14:27:53 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-06-25 14:27:53 -0500
commitea8bedf5ec63ca42de776de9f4c21343a8163578 (patch)
treea5302d6eaa5005ec44b6498566f00e4237e697d8 /src/snap.cpp
parentf630aa9b515a181e0647f0005a01ada32f813199 (diff)
downloadayatana-indicator-datetime-ea8bedf5ec63ca42de776de9f4c21343a8163578.tar.gz
ayatana-indicator-datetime-ea8bedf5ec63ca42de776de9f4c21343a8163578.tar.bz2
ayatana-indicator-datetime-ea8bedf5ec63ca42de776de9f4c21343a8163578.zip
make get_gain_level() a little easier to read.
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index cc6a36d..25632e9 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -141,8 +141,8 @@ private:
{
case ALARM_VOLUME_VERY_QUIET: return -8;
case ALARM_VOLUME_QUIET: return -4;
- case ALARM_VOLUME_VERY_LOUD: return 8;
case ALARM_VOLUME_LOUD: return 4;
+ case ALARM_VOLUME_VERY_LOUD: return 8;
default: return 0;
}
}