Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d9a4a3bf
Commit
d9a4a3bf
authored
Jun 14, 2007
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Jun 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Use Unicode functions in more places.
parent
3fd4a536
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wordpad.c
programs/wordpad/wordpad.c
+3
-3
No files found.
programs/wordpad/wordpad.c
View file @
d9a4a3bf
...
...
@@ -85,7 +85,7 @@ static void AddButton(HWND hwndToolBar, int nImage, int nCommand)
button
.
fsStyle
=
TBSTYLE_BUTTON
;
button
.
dwData
=
0
;
button
.
iString
=
-
1
;
SendMessage
(
hwndToolBar
,
TB_ADDBUTTONS
,
1
,
(
LPARAM
)
&
button
);
SendMessage
W
(
hwndToolBar
,
TB_ADDBUTTONSW
,
1
,
(
LPARAM
)
&
button
);
}
static
void
AddSeparator
(
HWND
hwndToolBar
)
...
...
@@ -99,7 +99,7 @@ static void AddSeparator(HWND hwndToolBar)
button
.
fsStyle
=
TBSTYLE_SEP
;
button
.
dwData
=
0
;
button
.
iString
=
-
1
;
SendMessage
(
hwndToolBar
,
TB_ADDBUTTONS
,
1
,
(
LPARAM
)
&
button
);
SendMessage
W
(
hwndToolBar
,
TB_ADDBUTTONSW
,
1
,
(
LPARAM
)
&
button
);
}
static
DWORD
CALLBACK
stream_in
(
DWORD_PTR
cookie
,
LPBYTE
buffer
,
LONG
cb
,
LONG
*
pcb
)
...
...
@@ -323,7 +323,7 @@ static void DoDefaultFont(void)
lstrcpyW
(
fmt
.
szFaceName
,
szFaceName
);
SendMessage
(
hEditorWnd
,
EM_SETCHARFORMAT
,
SCF_DEFAULT
,
(
LPARAM
)
&
fmt
);
SendMessage
W
(
hEditorWnd
,
EM_SETCHARFORMAT
,
SCF_DEFAULT
,
(
LPARAM
)
&
fmt
);
}
static
void
update_window
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment