mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix review comments for locale restructuring
This commit is contained in:
@@ -47,7 +47,7 @@ set (gnucash_SOURCES
|
|||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
list(APPEND gnucash_SOURCES "gnucash-locale-windows.c")
|
list(APPEND gnucash_SOURCES "gnucash-locale-windows.c")
|
||||||
elseif(MAC_INTEGRATION)
|
elseif (MAC_INTEGRATION)
|
||||||
list(APPEND gnucash_SOURCES "gnucash-locale-macos.mm")
|
list(APPEND gnucash_SOURCES "gnucash-locale-macos.mm")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -75,8 +75,7 @@ set(gnucash_cli_SOURCES
|
|||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
list(APPEND gnucash_cli_SOURCES "gnucash-locale-locale.c")
|
list(APPEND gnucash_cli_SOURCES "gnucash-locale-locale.c")
|
||||||
endif()
|
elseif (MAC_INTEGRATION)
|
||||||
if (MAC_INTEGRATION)
|
|
||||||
list(APPEND gnucash_cli_SOURCES "gnucash-locale-macos.mm")
|
list(APPEND gnucash_cli_SOURCES "gnucash-locale-macos.mm")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
* it is set both the Windows and POSIX locales to that. If not
|
* it is set both the Windows and POSIX locales to that. If not
|
||||||
* retrieve the Windows locale and set POSIX to match.
|
* retrieve the Windows locale and set POSIX to match.
|
||||||
*/
|
*/
|
||||||
char *void
|
char *
|
||||||
set_platform_locale()
|
set_platform_locale()
|
||||||
{
|
{
|
||||||
WCHAR lpLocaleName[LOCALE_NAME_MAX_LENGTH];
|
WCHAR lpLocaleName[LOCALE_NAME_MAX_LENGTH];
|
||||||
|
|||||||
Reference in New Issue
Block a user