Author: gedmurphy
Date: Fri Nov 9 14:47:10 2007
New Revision: 30290
URL:
http://svn.reactos.org/svn/reactos?rev=30290&view=rev
Log:
missed a few
Modified:
trunk/reactos/base/applications/charmap/about.c
trunk/reactos/base/applications/charmap/charmap.c
trunk/reactos/base/applications/charmap/lrgcell.c
trunk/reactos/base/applications/charmap/map.c
trunk/reactos/base/applications/charmap/precomp.h
Modified: trunk/reactos/base/applications/charmap/about.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/about.c (original)
+++ trunk/reactos/base/applications/charmap/about.c Fri Nov 9 14:47:10 2007
@@ -34,10 +34,10 @@
0);
if (hIcon)
{
- SendMessage(hDlg,
- WM_SETICON,
- ICON_SMALL,
- (LPARAM)hIcon);
+ SendMessageW(hDlg,
+ WM_SETICON,
+ ICON_SMALL,
+ (LPARAM)hIcon);
}
hLicenseEditWnd = GetDlgItem(hDlg,
Modified: trunk/reactos/base/applications/charmap/charmap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/charmap.c (original)
+++ trunk/reactos/base/applications/charmap/charmap.c Fri Nov 9 14:47:10 2007
@@ -107,7 +107,7 @@
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
- (Len + 1) * sizeof(TCHAR));
+ (Len + 1) * sizeof(WCHAR));
if (lpFontName)
{
@@ -138,7 +138,7 @@
{
lpText = HeapAlloc(GetProcessHeap(),
0,
- (Len + 2) * sizeof(TCHAR));
+ (Len + 2) * sizeof(WCHAR));
if (lpText)
{
@@ -267,10 +267,10 @@
case IDC_SELECT:
{
- TCHAR ch;
+ WCHAR ch;
HWND hMap = GetDlgItem(hDlg, IDC_FONTMAP);
- ch = (TCHAR) SendMessageW(hMap, FM_GETCHAR, 0, 0);
+ ch = (WCHAR) SendMessageW(hMap, FM_GETCHAR, 0, 0);
if (ch)
{
@@ -343,10 +343,10 @@
INT WINAPI
-_tWinMain(HINSTANCE hInst,
- HINSTANCE hPrev,
- LPTSTR Cmd,
- int iCmd)
+wWinMain(HINSTANCE hInst,
+ HINSTANCE hPrev,
+ LPWSTR Cmd,
+ int iCmd)
{
INITCOMMONCONTROLSEX iccx;
INT Ret = 1;
Modified: trunk/reactos/base/applications/charmap/lrgcell.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/lrgcell.c (original)
+++ trunk/reactos/base/applications/charmap/lrgcell.c Fri Nov 9 14:47:10 2007
@@ -29,7 +29,7 @@
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
- (Len + 1) * sizeof(TCHAR));
+ (Len + 1) * sizeof(WCHAR));
if (lpFontName)
{
Modified: trunk/reactos/base/applications/charmap/map.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/map.c (original)
+++ trunk/reactos/base/applications/charmap/map.c Fri Nov 9 14:47:10 2007
@@ -220,10 +220,10 @@
mnmh.ch = ch;
- Ret = SendMessage(infoPtr->hParent,
- WM_NOTIFY,
- (WPARAM)mnmh.hdr.idFrom,
- (LPARAM)&mnmh);
+ Ret = SendMessageW(infoPtr->hParent,
+ WM_NOTIFY,
+ (WPARAM)mnmh.hdr.idFrom,
+ (LPARAM)&mnmh);
}
return Ret;
Modified: trunk/reactos/base/applications/charmap/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/precomp.h (original)
+++ trunk/reactos/base/applications/charmap/precomp.h Fri Nov 9 14:47:10 2007
@@ -2,7 +2,6 @@
#define __CHARMAP_PRECOMP_H
#include <windows.h>
#include <stdio.h>
-#include <tchar.h>
#include <commctrl.h>
#include "resource.h"