[DVDnav-discuss] r1181 - trunk/libdvdnav/src/vm/vm.c

erik subversion at mplayerhq.hu
Sun Sep 6 17:26:43 CEST 2009


Author: erik
Date: Sun Sep  6 17:26:43 2009
New Revision: 1181

Log:
Cosmetic change only - os2_open

os2_open() doesn't look like the rest of the code. And since we just
updated it, it probably should look like the rest of the code.

Modified:
   trunk/libdvdnav/src/vm/vm.c

Modified: trunk/libdvdnav/src/vm/vm.c
==============================================================================
--- trunk/libdvdnav/src/vm/vm.c	Sun Sep  6 17:26:39 2009	(r1180)
+++ trunk/libdvdnav/src/vm/vm.c	Sun Sep  6 17:26:43 2009	(r1181)
@@ -142,21 +142,21 @@ static void vm_print_current_domain_stat
 
 static int os2_open(const char *name, int oflag)
 {
-    HFILE hfile;
-    ULONG ulAction;
-    ULONG rc;
+  HFILE hfile;
+  ULONG ulAction;
+  ULONG rc;
 
-    rc = DosOpenL( name, &hfile, &ulAction, 0, FILE_NORMAL,
-                   OPEN_ACTION_OPEN_IF_EXISTS | OPEN_ACTION_FAIL_IF_NEW,
-                   OPEN_ACCESS_READONLY | OPEN_SHARE_DENYNONE | OPEN_FLAGS_DASD,
-                   NULL );
+  rc = DosOpenL(name, &hfile, &ulAction, 0, FILE_NORMAL,
+                OPEN_ACTION_OPEN_IF_EXISTS | OPEN_ACTION_FAIL_IF_NEW,
+                OPEN_ACCESS_READONLY | OPEN_SHARE_DENYNONE | OPEN_FLAGS_DASD,
+                NULL);
 
-    if( rc )
-        return -1;
+  if(rc)
+    return -1;
 
-    setmode( hfile, O_BINARY );
+  setmode(hfile, O_BINARY);
 
-    return ( int )hfile;
+  return (int)hfile;
 }
 #endif
 


More information about the DVDnav-discuss mailing list