From e7a46576e247ee75271d45c62648ca04625750ea Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Mon, 17 May 2010 12:31:06 +0000 Subject: [PATCH] [regedit] - Woops, forgot to change the messages to use resource files instead. Thanks Gregor Schneider. svn path=/trunk/; revision=47252 --- reactos/base/applications/regedit/find.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/base/applications/regedit/find.c b/reactos/base/applications/regedit/find.c index 226da07ea5b..e20d01684f8 100644 --- a/reactos/base/applications/regedit/find.c +++ b/reactos/base/applications/regedit/find.c @@ -808,8 +808,13 @@ void FindDialog(HWND hWnd) hWnd, FindDialogProc, 0) != 0) { if (FindNext(hWnd) == FALSE) - MessageBoxW(NULL,L"Finished searching through the registry\n", - L"Registry Editor", MB_ICONINFORMATION); + { + TCHAR msg[128], caption[128]; + + LoadString(hInst, IDS_FINISHEDFIND, msg, sizeof(msg)/sizeof(TCHAR)); + LoadString(hInst, IDS_APP_TITLE, caption, sizeof(caption)/sizeof(TCHAR)); + MessageBox(0, msg, caption, MB_ICONINFORMATION); + } } }