Author: mjmartin
Date: Mon May 17 14:31:06 2010
New Revision: 47252
URL:
http://svn.reactos.org/svn/reactos?rev=47252&view=rev
Log:
[regedit]
- Woops, forgot to change the messages to use resource files instead. Thanks Gregor
Schneider.
Modified:
trunk/reactos/base/applications/regedit/find.c
Modified: trunk/reactos/base/applications/regedit/find.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedit/…
==============================================================================
--- trunk/reactos/base/applications/regedit/find.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/regedit/find.c [iso-8859-1] Mon May 17 14:31:06 2010
@@ -808,8 +808,13 @@
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);
+ }
+ }
+}
+