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
eb0ef774
Commit
eb0ef774
authored
Jun 25, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Correct registry key from "Enabled" to "Enable".
parent
d9629392
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
inputprocessor.c
dlls/msctf/inputprocessor.c
+7
-7
No files found.
dlls/msctf/inputprocessor.c
View file @
eb0ef774
...
...
@@ -43,7 +43,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msctf
);
static
const
WCHAR
szwLngp
[]
=
{
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
'P'
,
'r'
,
'o'
,
'f'
,
'i'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
szwEnable
d
[]
=
{
'E'
,
'n'
,
'a'
,
'b'
,
'l'
,
'e'
,
'd
'
,
0
};
static
const
WCHAR
szwEnable
[]
=
{
'E'
,
'n'
,
'a'
,
'b'
,
'l'
,
'e
'
,
0
};
static
const
WCHAR
szwTipfmt
[]
=
{
'%'
,
's'
,
'\\'
,
'%'
,
's'
,
0
};
static
const
WCHAR
szwFullLangfmt
[]
=
{
'%'
,
's'
,
'\\'
,
'%'
,
's'
,
'\\'
,
'%'
,
's'
,
'\\'
,
'0'
,
'x'
,
'%'
,
'0'
,
'8'
,
'x'
,
'\\'
,
'%'
,
's'
,
0
};
...
...
@@ -144,7 +144,7 @@ static void add_userkey( REFCLSID rclsid, LANGID langid,
if
(
!
res
&&
disposition
==
REG_CREATED_NEW_KEY
)
{
DWORD
zero
=
0x0
;
RegSetValueExW
(
key
,
szwEnable
d
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
zero
,
sizeof
(
DWORD
));
RegSetValueExW
(
key
,
szwEnable
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
zero
,
sizeof
(
DWORD
));
}
if
(
!
res
)
...
...
@@ -278,7 +278,7 @@ static HRESULT WINAPI InputProcessorProfiles_AddLanguageProfile(
RegSetValueExW
(
fmtkey
,
icnf
,
0
,
REG_SZ
,
(
LPBYTE
)
pchIconFile
,
cchFile
*
sizeof
(
WCHAR
));
RegSetValueExW
(
fmtkey
,
icni
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
uIconIndex
,
sizeof
(
DWORD
));
if
(
disposition
==
REG_CREATED_NEW_KEY
)
RegSetValueExW
(
fmtkey
,
szwEnable
d
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
zero
,
sizeof
(
DWORD
));
RegSetValueExW
(
fmtkey
,
szwEnable
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
zero
,
sizeof
(
DWORD
));
RegCloseKey
(
fmtkey
);
add_userkey
(
rclsid
,
langid
,
guidProfile
);
...
...
@@ -456,7 +456,7 @@ static HRESULT WINAPI InputProcessorProfiles_EnableLanguageProfile(
if
(
!
res
)
{
RegSetValueExW
(
key
,
szwEnable
d
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
fEnable
,
sizeof
(
DWORD
));
RegSetValueExW
(
key
,
szwEnable
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
fEnable
,
sizeof
(
DWORD
));
RegCloseKey
(
key
);
}
else
...
...
@@ -490,7 +490,7 @@ static HRESULT WINAPI InputProcessorProfiles_IsEnabledLanguageProfile(
if
(
!
res
)
{
DWORD
count
=
sizeof
(
DWORD
);
res
=
RegQueryValueExW
(
key
,
szwEnable
d
,
0
,
NULL
,
(
LPBYTE
)
pfEnable
,
&
count
);
res
=
RegQueryValueExW
(
key
,
szwEnable
,
0
,
NULL
,
(
LPBYTE
)
pfEnable
,
&
count
);
RegCloseKey
(
key
);
}
...
...
@@ -501,7 +501,7 @@ static HRESULT WINAPI InputProcessorProfiles_IsEnabledLanguageProfile(
if
(
!
res
)
{
DWORD
count
=
sizeof
(
DWORD
);
res
=
RegQueryValueExW
(
key
,
szwEnable
d
,
0
,
NULL
,
(
LPBYTE
)
pfEnable
,
&
count
);
res
=
RegQueryValueExW
(
key
,
szwEnable
,
0
,
NULL
,
(
LPBYTE
)
pfEnable
,
&
count
);
RegCloseKey
(
key
);
}
}
...
...
@@ -533,7 +533,7 @@ static HRESULT WINAPI InputProcessorProfiles_EnableLanguageProfileByDefault(
if
(
!
res
)
{
RegSetValueExW
(
key
,
szwEnable
d
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
fEnable
,
sizeof
(
DWORD
));
RegSetValueExW
(
key
,
szwEnable
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
fEnable
,
sizeof
(
DWORD
));
RegCloseKey
(
key
);
}
else
...
...
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