Fix Unterminated Comment in WIDL Generated Code

Dan Hipschman dsh at linux.ucla.edu
Thu Jul 13 20:10:12 CDT 2006


ChangeLog:
* Terminate comment in generated code
---
 tools/widl/header.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/header.c b/tools/widl/header.c
index 546481a..d6b42ef 100644
--- a/tools/widl/header.c
+++ b/tools/widl/header.c
@@ -1016,5 +1016,5 @@ void write_coclass_forward(class_t *cocl
   fprintf(header, "#ifndef __%s_FWD_DEFINED__\n", cocl->name);
   fprintf(header, "#define __%s_FWD_DEFINED__\n", cocl->name);
   fprintf(header, "typedef struct %s %s;\n", cocl->name, cocl->name);
-  fprintf(header, "#endif /* defined __%s_FWD_DEFINED__\n\n", cocl->name );
+  fprintf(header, "#endif /* defined __%s_FWD_DEFINED__ */\n\n", cocl->name );
 }



More information about the wine-patches mailing list