[PATCH 2/2] Don't change case of the batch filename

Paul Vriens Paul.Vriens.Wine at gmail.com
Thu Feb 18 07:29:10 CST 2010


---
 programs/cmd/batch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/cmd/batch.c b/programs/cmd/batch.c
index 28744d4..6cb732c 100644
--- a/programs/cmd/batch.c
+++ b/programs/cmd/batch.c
@@ -91,7 +91,7 @@ void WCMD_batch (WCHAR *file, WCHAR *command, int called, WCHAR *startLabel, HAN
   prev_context = context;
   context = LocalAlloc (LMEM_FIXED, sizeof (BATCH_CONTEXT));
   context -> h = h;
-  context->batchfileW = WCMD_strdupW(string);
+  context->batchfileW = WCMD_strdupW(file);
   context -> command = command;
   memset(context -> shift_count, 0x00, sizeof(context -> shift_count));
   context -> prev_context = prev_context;
-- 
1.6.2.5


--------------020709000807060806050400--



More information about the wine-patches mailing list