Francois Gouget : notepad: Make NOTEPAD_DoReplace(All)?() static.

Alexandre Julliard julliard at winehq.org
Wed May 6 10:33:14 CDT 2009


Module: wine
Branch: master
Commit: cdc82702ba48dd73b41b4b11ffd13a1d47d0bd78
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cdc82702ba48dd73b41b4b11ffd13a1d47d0bd78

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed May  6 03:34:02 2009 +0200

notepad: Make NOTEPAD_DoReplace(All)?() static.

---

 programs/notepad/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/notepad/main.c b/programs/notepad/main.c
index 5d462a0..fcea9e3 100644
--- a/programs/notepad/main.c
+++ b/programs/notepad/main.c
@@ -415,7 +415,7 @@ void NOTEPAD_DoFind(FINDREPLACE *fr)
     SendMessageW(Globals.hEdit, EM_SETSEL, found - content, found - content + len);
 }
 
-void NOTEPAD_DoReplace(FINDREPLACE *fr)
+static void NOTEPAD_DoReplace(FINDREPLACE *fr)
 {
     LPTSTR content;
     int len = lstrlen(fr->lpstrFindWhat);
@@ -447,7 +447,7 @@ void NOTEPAD_DoReplace(FINDREPLACE *fr)
     NOTEPAD_DoFind(fr);
 }
 
-void NOTEPAD_DoReplaceAll(FINDREPLACE *fr)
+static void NOTEPAD_DoReplaceAll(FINDREPLACE *fr)
 {
     LPTSTR content;
     LPTSTR found;




More information about the wine-cvs mailing list