Thomas Kho : notepad: Change window classname from NPClass to Notepad.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 7 07:56:18 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 0796fe256be7205ee336f2746c91daeb319938f3
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0796fe256be7205ee336f2746c91daeb319938f3

Author: Thomas Kho <tkho at ucla.edu>
Date:   Thu Jul  6 17:40:47 2006 -0500

notepad: Change window classname from NPClass to Notepad.

---

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

diff --git a/programs/notepad/main.c b/programs/notepad/main.c
index 3e10aa9..d4ba472 100644
--- a/programs/notepad/main.c
+++ b/programs/notepad/main.c
@@ -370,7 +370,7 @@ int PASCAL WinMain(HINSTANCE hInstance, 
     MSG        msg;
     HACCEL      hAccel;
     WNDCLASSEX class;
-    static const WCHAR className[] = {'N','P','C','l','a','s','s',0};
+    static const WCHAR className[] = {'N','o','t','e','p','a','d',0};
     static const WCHAR winName[]   = {'N','o','t','e','p','a','d',0};
 
     aFINDMSGSTRING = RegisterWindowMessage(FINDMSGSTRING);




More information about the wine-cvs mailing list