summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2012-05-09 23:58:08 +0200
committerTormod Volden <debian.tormod@gmail.com>2012-05-20 21:50:14 +0200
commit9ca570f54f7113fab5d6553c3fd3318b395b249a (patch)
tree62eddd358b2f631ce11f9742e1014eb0be1952f2
parent25cfa8a48c0d130883b774b91286ad1796b3a313 (diff)
fixup: duoview 3: rename bDoEnable to setDuoView, in line with the explanation
-rw-r--r--src/savage_vbe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/savage_vbe.c b/src/savage_vbe.c
index c8bead2..da201b5 100644
--- a/src/savage_vbe.c
+++ b/src/savage_vbe.c
@@ -345,19 +345,19 @@ int SavageCorrectDuoViewFlag(int iDevInfo, Bool bEnableActivate,
* To use the full logic mentioned above, set both flags to TRUE.
*/
- Bool bDoEnable = FALSE;
+ Bool setDuoView = FALSE;
/* decision logic */
if ((iDevInfo & TV_ACTIVE) &&
((iDevInfo & CRT_ACTIVE) || (iDevInfo & LCD_ACTIVE)))
- bDoEnable = TRUE;
+ setDuoView = TRUE;
/* action logic */
- if (bDoEnable == TRUE) {
+ if (setDuoView == TRUE) {
if (bEnableActivate == TRUE) {
iDevInfo |= DUO_ON;
}
- } else { /* bDoEnable == FALSE */
+ } else { /* setDuoView == FALSE */
if (bEnableDeactivate == TRUE) {
iDevInfo &= ~DUO_ON;
}