From bc4b88ffcd62026b07e493ae2cd11c46c31fb78b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 19 Apr 2000 16:47:20 +0000 Subject: [PATCH] Fixed resource loading. --- programs/wcmd/builtins.c | 4 ++-- programs/wcmd/wcmd.spec | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/wcmd/builtins.c b/programs/wcmd/builtins.c index 528c7bae43d..9fe9384c8f8 100644 --- a/programs/wcmd/builtins.c +++ b/programs/wcmd/builtins.c @@ -277,14 +277,14 @@ char buffer[2048]; command = WCMD_strtrim_leading_spaces(command); if (lstrlen(command) == 0) { - LoadString (hinst, 1000, buffer, sizeof(buffer)); + LoadString (0, 1000, buffer, sizeof(buffer)); WCMD_output (buffer); } else { for (i=0; i<=WCMD_EXIT; i++) { if (CompareString (LOCALE_USER_DEFAULT, NORM_IGNORECASE | SORT_STRINGSORT, param1, -1, inbuilt[i], -1) == 2) { - LoadString (hinst, i, buffer, sizeof(buffer)); + LoadString (0, i, buffer, sizeof(buffer)); WCMD_output (buffer); return; } diff --git a/programs/wcmd/wcmd.spec b/programs/wcmd/wcmd.spec index 4c881b52f68..3cffcff20fd 100644 --- a/programs/wcmd/wcmd.spec +++ b/programs/wcmd/wcmd.spec @@ -1,4 +1,5 @@ name wcmd mode cuiexe type win32 +rsrc wcmd init wine_main