summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Juergen Mauser <hjmauser@gmx.net>2012-05-09 10:09:07 +0200
committerTormod Volden <debian.tormod@gmail.com>2012-05-20 20:37:39 +0200
commit6020843c7c0857c063ca624bb062b4a29cc2097e (patch)
tree9777f584533a258bf50b7d20606e2515596855db
parentde22eab9a21df80fe965dc37d21ba3ac2b9f5fd0 (diff)
Whitespace fixes
Signed-off-by: Hans-Juergen Mauser <hjmauser@gmx.net> [Tormod: split out from an big diff] Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
-rw-r--r--src/savage_vbe.c5
-rw-r--r--src/savage_video.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/src/savage_vbe.c b/src/savage_vbe.c
index 7dba538..677523f 100644
--- a/src/savage_vbe.c
+++ b/src/savage_vbe.c
@@ -48,10 +48,9 @@ SavageSetTextMode( SavagePtr psav )
xf86ExecX86int10( psav->pVbe->pInt10 );
}
+ /* switch to text mode */
SavageClearVM86Regs( psav->pVbe->pInt10 );
-
psav->pVbe->pInt10->ax = 0x83;
-
xf86ExecX86int10( psav->pVbe->pInt10 );
}
@@ -191,8 +190,10 @@ void
SavageSetPanelEnabled( SavagePtr psav, Bool active )
{
int iDevInfo;
+
if( !psav->PanelX )
return; /* no panel */
+
iDevInfo = SavageGetDevice( psav );
if( active )
iDevInfo |= LCD_ACTIVE;
diff --git a/src/savage_video.c b/src/savage_video.c
index b5a6330..2124032 100644
--- a/src/savage_video.c
+++ b/src/savage_video.c
@@ -1909,6 +1909,7 @@ SavagePutImage(
int top, left, npixels, nlines;
BoxRec dstBox;
CARD32 tmp;
+
/* xf86ErrorFVerb(XVTRACE,"SavagePutImage\n"); */
if(drw_w > 16384) drw_w = 16384;