Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/vm/vm.c [109064] .. [7d31b9] Maximize Restore

  Switch to side-by-side view

--- a/src/vm/vm.c
+++ b/src/vm/vm.c
@@ -142,21 +142,21 @@
 
 static int os2_open(const char *name, int oflag)
 {
-    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 );
-
-    if( rc )
-        return -1;
-
-    setmode( hfile, O_BINARY );
-
-    return ( int )hfile;
+  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);
+
+  if(rc)
+    return -1;
+
+  setmode(hfile, O_BINARY);
+
+  return (int)hfile;
 }
 #endif