From 773f703d92714edb80458693bf9bf42fc0b77db4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 17 Oct 2022 10:50:11 -0700 Subject: ast_vgatool: Fix indentation in ASTGetScratchOptions() Signed-off-by: Alan Coopersmith --- src/ast_vgatool.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c index e79cd9c..063775b 100644 --- a/src/ast_vgatool.c +++ b/src/ast_vgatool.c @@ -673,21 +673,21 @@ ASTGetScratchOptions(ScrnInfoPtr pScrn) if ((pAST->jChipType == AST2300) || (pAST->jChipType == AST2400) || (pAST->jChipType == AST2500)) { GetIndexRegMask(CRTC_PORT, 0xD1, 0x0E, jReg); - switch (jReg) - { - case 0x04: - pAST->jTxChipType = Tx_Sil164; - break; + switch (jReg) + { + case 0x04: + pAST->jTxChipType = Tx_Sil164; + break; case 0x08: - pAST->pDP501FWBufferVirtualAddress = (UCHAR*) calloc(1, 32*1024); - if (pAST->pDP501FWBufferVirtualAddress) - { - if (BackupM68KFW(pScrn, pAST->pDP501FWBufferVirtualAddress, 32*1024) == FALSE) - { - free(pAST->pDP501FWBufferVirtualAddress); - pAST->pDP501FWBufferVirtualAddress = NULL; - } - } /* Backup DP501 FW */ + pAST->pDP501FWBufferVirtualAddress = (UCHAR*) calloc(1, 32*1024); + if (pAST->pDP501FWBufferVirtualAddress) + { + if (BackupM68KFW(pScrn, pAST->pDP501FWBufferVirtualAddress, 32*1024) == FALSE) + { + free(pAST->pDP501FWBufferVirtualAddress); + pAST->pDP501FWBufferVirtualAddress = NULL; + } + } /* Backup DP501 FW */ case 0x0c: pAST->jTxChipType = Tx_DP501; break; -- cgit v1.2.3