physfs.c
branchstable-1.0
changeset 760 ca9215fa54f6
parent 735 4fec520a9e87
child 870 95afd7667adf
equal deleted inserted replaced
750:1a9776396bb6 760:ca9215fa54f6
  1088             if (!PHYSFS_setWriteDir(str))
  1088             if (!PHYSFS_setWriteDir(str))
  1089                 no_write = 1;
  1089                 no_write = 1;
  1090         } /* if */
  1090         } /* if */
  1091         else
  1091         else
  1092         {
  1092         {
  1093                 no_write = 1;
  1093             no_write = 1;
  1094         } /* else */
  1094         } /* else */
  1095 
  1095 
  1096         if (no_write)
  1096         if (no_write)
  1097         {
  1097         {
  1098             PHYSFS_setWriteDir(NULL);   /* just in case. */
  1098             PHYSFS_setWriteDir(NULL);   /* just in case. */