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
b91d2dfa
Commit
b91d2dfa
authored
Jun 26, 2001
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 26, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace one more PROFILE_ function by RegQueryValueExA.
parent
36b4e1e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
event.c
windows/x11drv/event.c
+14
-1
No files found.
windows/x11drv/event.c
View file @
b91d2dfa
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
#include "winpos.h"
#include "winpos.h"
#include "file.h"
#include "file.h"
#include "windef.h"
#include "windef.h"
#include "winreg.h"
#include "x11drv.h"
#include "x11drv.h"
#include "shellapi.h"
#include "shellapi.h"
...
@@ -727,7 +728,19 @@ static Atom EVENT_SelectionRequest_STRING( Display *display, Window requestor,
...
@@ -727,7 +728,19 @@ static Atom EVENT_SelectionRequest_STRING( Display *display, Window requestor,
int
xRc
;
int
xRc
;
if
(
text_cp
==
(
UINT
)
-
1
)
if
(
text_cp
==
(
UINT
)
-
1
)
text_cp
=
PROFILE_GetWineIniInt
(
"x11drv"
,
"TextCP"
,
CP_ACP
);
{
HKEY
hkey
;
/* default value */
text_cp
=
CP_ACP
;
if
(
!
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
Wine
\\
Config
\\
x11drv"
,
&
hkey
))
{
char
buf
[
20
];
DWORD
type
,
count
=
sizeof
(
buf
);
if
(
!
RegQueryValueExA
(
hkey
,
"TextCP"
,
0
,
&
type
,
buf
,
&
count
))
text_cp
=
atoi
(
buf
);
RegCloseKey
(
hkey
);
}
}
/*
/*
* Map the requested X selection property type atom name to a
* Map the requested X selection property type atom name to a
...
...
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