Fix review comments for locale restructuring

This commit is contained in:
Geert Janssens 2021-03-22 12:17:38 +01:00
parent 6537135e70
commit 2eadfb9b41
2 changed files with 3 additions and 4 deletions

View File

@ -47,7 +47,7 @@ set (gnucash_SOURCES
if (MINGW)
list(APPEND gnucash_SOURCES "gnucash-locale-windows.c")
elseif(MAC_INTEGRATION)
elseif (MAC_INTEGRATION)
list(APPEND gnucash_SOURCES "gnucash-locale-macos.mm")
endif()
@ -75,8 +75,7 @@ set(gnucash_cli_SOURCES
if (MINGW)
list(APPEND gnucash_cli_SOURCES "gnucash-locale-locale.c")
endif()
if (MAC_INTEGRATION)
elseif (MAC_INTEGRATION)
list(APPEND gnucash_cli_SOURCES "gnucash-locale-macos.mm")
endif()

View File

@ -32,7 +32,7 @@
* it is set both the Windows and POSIX locales to that. If not
* retrieve the Windows locale and set POSIX to match.
*/
char *void
char *
set_platform_locale()
{
WCHAR lpLocaleName[LOCALE_NAME_MAX_LENGTH];