~ubuntu-branches/ubuntu/wily/unrar-nonfree/wily-proposed

« back to all changes in this revision

Viewing changes to filestr.cpp

  • Committer: Package Import Robot
  • Author(s): Nick Andrik
  • Date: 2013-01-21 23:07:40 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: package-import@ubuntu.com-20130121230740-72rp8g92rch565c6
Tags: upstream-4.2.4
ImportĀ upstreamĀ versionĀ 4.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
  File SrcFile;
36
36
  if (FileName!=NULL && *FileName!=0 || FileNameW!=NULL && *FileNameW!=0)
37
37
  {
38
 
    bool OpenCode=AbortOnError ? SrcFile.WOpen(FileName,FileNameW):SrcFile.Open(FileName,FileNameW);
 
38
    bool OpenCode=AbortOnError ? SrcFile.WOpen(FileName,FileNameW):SrcFile.Open(FileName,FileNameW,0);
39
39
 
40
40
    if (!OpenCode)
41
41
    {
42
42
      if (AbortOnError)
43
 
        ErrHandler.Exit(OPEN_ERROR);
 
43
        ErrHandler.Exit(RARX_OPEN);
44
44
      return(false);
45
45
    }
46
46
  }