aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/mga_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r--libvo/mga_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 8a20ba5c67..dce62abeac 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -391,7 +391,7 @@ static int mga_init(int width,int height,unsigned int format){
{
// try whether we have a G550
int ret;
- if(ret = ioctl(f,MGA_VID_CONFIG,&mga_vid_config))
+ if ((ret = ioctl(f,MGA_VID_CONFIG,&mga_vid_config)))
{
if(mga_vid_config.card_type != MGA_G550)
{