ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/Global/Exporters.pas
(Generate patch)

Comparing oup/current/Global/Exporters.pas (file contents):
Revision 111 by alloc, Wed Feb 21 03:28:48 2007 UTC vs.
Revision 198 by alloc, Sat May 26 19:28:08 2007 UTC

# Line 73 | Line 73 | begin
73    if Length(ExportHandlers) > 0 then
74      for i := 0 to High(ExportHandlers) do
75        if ExportHandlers[i].Ext = fileinfo.Extension then
76 <        ExportHandlers[i].Handler(ConnectionID, FileID, filename);
76 >        Result := ExportHandlers[i].Handler(ConnectionID, FileID, filename);
77   end;
78  
79  
# Line 224 | Line 224 | begin
224  
225    img := TOniImage.Create;
226    img.Load(ConnectionID, FileID);
227 <  img.WriteToBMP(filename+'.bmp');
227 >  img.WriteToFile(filename+'.dds');
228 >  img.WriteToFile(filename+'.bmp');
229    img.Free;
230   end;
231  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)