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
3eda8da2
Commit
3eda8da2
authored
Sep 07, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix spelling of VARIANT_NUMBER_CHARS's separator fields.
parent
735a5104
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
variant.c
dlls/oleaut32/variant.c
+5
-5
variant.h
dlls/oleaut32/variant.h
+2
-2
No files found.
dlls/oleaut32/variant.c
View file @
3eda8da2
...
...
@@ -1475,9 +1475,9 @@ void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS *lpChars, LCID lcid, D
GET_NUMBER_TEXT
(
LOCALE_SNEGATIVESIGN
,
cNegativeSymbol
);
GET_NUMBER_TEXT
(
LOCALE_SPOSITIVESIGN
,
cPositiveSymbol
);
GET_NUMBER_TEXT
(
LOCALE_SDECIMAL
,
cDecimalPoint
);
GET_NUMBER_TEXT
(
LOCALE_STHOUSAND
,
cDigitSep
e
rator
);
GET_NUMBER_TEXT
(
LOCALE_STHOUSAND
,
cDigitSep
a
rator
);
GET_NUMBER_TEXT
(
LOCALE_SMONDECIMALSEP
,
cCurrencyDecimalPoint
);
GET_NUMBER_TEXT
(
LOCALE_SMONTHOUSANDSEP
,
cCurrencyDigitSep
e
rator
);
GET_NUMBER_TEXT
(
LOCALE_SMONTHOUSANDSEP
,
cCurrencyDigitSep
a
rator
);
/* Local currency symbols are often 2 characters */
lpChars
->
cCurrencyLocal2
=
'\0'
;
...
...
@@ -1597,7 +1597,7 @@ HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags,
lpszStr
++
;
/* Only accept currency characters */
chars
.
cDecimalPoint
=
chars
.
cCurrencyDecimalPoint
;
chars
.
cDigitSep
erator
=
chars
.
cCurrencyDigitSepe
rator
;
chars
.
cDigitSep
arator
=
chars
.
cCurrencyDigitSepa
rator
;
}
else
if
(
pNumprs
->
dwInFlags
&
NUMPRS_PARENS
&&
*
lpszStr
==
'('
&&
!
(
pNumprs
->
dwOutFlags
&
NUMPRS_PARENS
))
...
...
@@ -1614,7 +1614,7 @@ HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags,
{
/* Only accept non-currency characters */
chars
.
cCurrencyDecimalPoint
=
chars
.
cDecimalPoint
;
chars
.
cCurrencyDigitSep
erator
=
chars
.
cDigitSepe
rator
;
chars
.
cCurrencyDigitSep
arator
=
chars
.
cDigitSepa
rator
;
}
if
((
*
lpszStr
==
'&'
&&
(
*
(
lpszStr
+
1
)
==
'H'
||
*
(
lpszStr
+
1
)
==
'h'
))
&&
...
...
@@ -1706,7 +1706,7 @@ HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags,
cchUsed
++
;
}
}
else
if
(
*
lpszStr
==
chars
.
cDigitSep
e
rator
&&
pNumprs
->
dwInFlags
&
NUMPRS_THOUSANDS
)
else
if
(
*
lpszStr
==
chars
.
cDigitSep
a
rator
&&
pNumprs
->
dwInFlags
&
NUMPRS_THOUSANDS
)
{
pNumprs
->
dwOutFlags
|=
NUMPRS_THOUSANDS
;
cchUsed
++
;
...
...
dlls/oleaut32/variant.h
View file @
3eda8da2
...
...
@@ -117,11 +117,11 @@ typedef struct tagVARIANT_NUMBER_CHARS
WCHAR
cNegativeSymbol
;
WCHAR
cPositiveSymbol
;
WCHAR
cDecimalPoint
;
WCHAR
cDigitSep
e
rator
;
WCHAR
cDigitSep
a
rator
;
WCHAR
cCurrencyLocal
;
WCHAR
cCurrencyLocal2
;
WCHAR
cCurrencyDecimalPoint
;
WCHAR
cCurrencyDigitSep
e
rator
;
WCHAR
cCurrencyDigitSep
a
rator
;
}
VARIANT_NUMBER_CHARS
;
void
VARIANT_GetLocalisedNumberChars
(
VARIANT_NUMBER_CHARS
*
,
LCID
,
DWORD
);
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