wrc: Reset the language before processing multiple rc files.

Michael Stefaniuc mstefani at redhat.de
Fri Jul 10 04:27:39 CDT 2009


---
 tools/wrc/wrc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c
index 61a3734..623bb5a 100644
--- a/tools/wrc/wrc.c
+++ b/tools/wrc/wrc.c
@@ -250,6 +250,9 @@ static int load_file( const char *input_name, const char *output_name )
 {
     int ret;
 
+    /* Reset the language */
+    currentlanguage = new_language(0, 0);
+
     /* Run the preprocessor on the input */
     if(!no_preprocess)
     {
-- 
1.6.1.1



More information about the wine-patches mailing list