Jacek Caban : widl: Reorder segments to match midl.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jul 28 07:15:17 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 37cf4a526064021ad60d08c15efab2f83e22b637
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=37cf4a526064021ad60d08c15efab2f83e22b637
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Jul 27 20:43:56 2006 +0200
widl: Reorder segments to match midl.
---
tools/widl/write_msft.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c
index f5c1e2e..bc28345 100644
--- a/tools/widl/write_msft.c
+++ b/tools/widl/write_msft.c
@@ -2451,9 +2451,9 @@ static int save_all_changes(msft_typelib
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_TYPEINFO);
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_GUIDHASH);
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_GUID);
+ filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_REFERENCES);
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_IMPORTINFO);
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_IMPORTFILES);
- filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_REFERENCES);
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_NAMEHASH);
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_NAME);
filepos += ctl2_finalize_segment(typelib, filepos, MSFT_SEG_STRING);
@@ -2474,9 +2474,9 @@ static int save_all_changes(msft_typelib
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_TYPEINFO )) return retval;
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_GUIDHASH )) return retval;
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_GUID )) return retval;
+ if (!ctl2_write_segment(typelib, fd, MSFT_SEG_REFERENCES )) return retval;
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_IMPORTINFO )) return retval;
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_IMPORTFILES )) return retval;
- if (!ctl2_write_segment(typelib, fd, MSFT_SEG_REFERENCES )) return retval;
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_NAMEHASH )) return retval;
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_NAME )) return retval;
if (!ctl2_write_segment(typelib, fd, MSFT_SEG_STRING )) return retval;
More information about the wine-cvs
mailing list