~grubng-dev/grubng/tools-urlsdb

« back to all changes in this revision

Viewing changes to Files.cs

  • Committer: thindil
  • Date: 2011-05-16 21:10:51 UTC
  • Revision ID: thindil2@gmail.com-20110516211051-u7wqf1twfbq2ypdn
small code optimization

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
                                                };
122
122
                                                encoder.SetCoderProperties(propIDs, properties);
123
123
                                                encoder.WriteCoderProperties(workunit);
124
 
                                                length = file.Length;
125
124
                                                for (int i = 0; i < 8; i++)
126
125
                                                {
127
126
                                                        workunit.WriteByte((Byte)(length >> (8 * i)));
131
130
                                        }
132
131
                                }
133
132
                        }
134
 
                        File.Delete(filename);
135
133
                        this.util.Message("done", true);
136
134
                }
137
135